]> git.donarmstrong.com Git - debbugs.git/commitdiff
Fix default user for usertags debian
authorPaul Wise <pabs@debian.org>
Fri, 12 Mar 2021 00:56:36 +0000 (08:56 +0800)
committerDon Armstrong <don@donarmstrong.com>
Sat, 1 Apr 2023 05:54:24 +0000 (22:54 -0700)
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 b40360323cd77f8e805013ec9180ff59406811c7..4db91807b3237574738698a293dc878e838cd98c 100755 (executable)
@@ -699,7 +699,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') {