diff options
author | David Lawrence <dkl@redhat.com> | 2014-05-23 17:12:43 +0200 |
---|---|---|
committer | David Lawrence <dkl@redhat.com> | 2014-05-23 17:12:43 +0200 |
commit | a94a60e0eb2a9d213a7182136a881b77304ec7d1 (patch) | |
tree | 4b91605441eb7a2303ba7f8c3510ef08006b719b /extensions/SecureMail | |
parent | 0e44b5e51954470023eda053e3a3e5466d0e94ae (diff) | |
download | bugzilla-a94a60e0eb2a9d213a7182136a881b77304ec7d1.tar.gz bugzilla-a94a60e0eb2a9d213a7182136a881b77304ec7d1.tar.xz |
Bug 1013760: Add "secure mail" metadata to email headers
Diffstat (limited to 'extensions/SecureMail')
-rw-r--r-- | extensions/SecureMail/Extension.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm index a4a23a2cd..2a2ba05f0 100644 --- a/extensions/SecureMail/Extension.pm +++ b/extensions/SecureMail/Extension.pm @@ -413,6 +413,9 @@ sub _should_secure_whine { sub _make_secure { my ($email, $key, $sanitise_subject, $add_new) = @_; + # Add header showing this email has been secured + $email->header_set('X-Bugzilla-Secure-Email', 'Yes'); + my $subject = $email->header('Subject'); my ($bug_id) = $subject =~ /\[\D+(\d+)\]/; |