]> 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)
committerDon Armstrong <don@donarmstrong.com>
Sun, 7 Sep 2025 00:16:24 +0000 (17:16 -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 883c51240f94ddd3e77e60d193264a19f6d02911..f4af310d57ede6f62dd961445d0ff6fab8a1a547 100755 (executable)
@@ -684,7 +684,8 @@ if ($ref<0) { # new bug report
     writebug($ref, $data);
     $data->{bug_num} = $ref;
     # 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') {