summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/SecureMail/Extension.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm
index 2a2ba05f0..7bd0ccc5f 100644
--- a/extensions/SecureMail/Extension.pm
+++ b/extensions/SecureMail/Extension.pm
@@ -550,7 +550,9 @@ sub _make_secure {
# 'bug' to something else. However, it could break if they change
# the format of the subject line in another way.
my $new = $add_new ? ' New:' : '';
- $subject =~ s/($bug_id\])\s+(.*)$/$1$new (Secure bug $bug_id updated)/;
+ my $product = $email->header('X-Bugzilla-Product');
+ my $component = $email->header('X-Bugzilla-Component');
+ $subject =~ s/($bug_id\])\s+(.*)$/$1$new (Secure bug in $product :: $component)/;
$email->header_set('Subject', $subject);
}
}