]> git.donarmstrong.com Git - debbugs.git/commitdiff
Fix default user for usertags
authorPaul Wise <pabs@debian.org>
Fri, 12 Mar 2021 00:56:36 +0000 (08:56 +0800)
committerPaul Wise <pabs@debian.org>
Fri, 12 Mar 2021 00:56:36 +0000 (08:56 +0800)
It needs to have the same processing as all user addresses,
otherwise it will include the name and spaces etc.

Fixes: commit f13b9b4b919d80e6e90acf905452f8788e2b8c40
scripts/process

index d3e9238d2acb002e896418f0cdc0844e1d02b3f9..66fa43428341ca4b609b27cd80a70195dcdd7e8c 100755 (executable)
@@ -700,7 +700,8 @@ if ($ref<0) { # new bug report
     $data->{msgid} = $header{'message-id'};
     writebug($ref, $data);
     # Deal with usertags
-    my $current_user = $replyto;
+    my $current_user;
+    unshift @usertag_bits, ['user', $replyto];
     for my $field (@usertag_bits) {
         my ($name, $value) = @$field;
         if ($name eq 'user') {