summaryrefslogtreecommitdiffstats
path: root/extensions/SecureMail
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-08-24 00:06:43 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-08-24 00:06:43 +0200
commit76b27fd6c9bcf9f0bcbcd8280f937192803f8dbc (patch)
tree84b0599254a013acff0592d0226529690ed5193c /extensions/SecureMail
parentacfc36b72cb62177cc9e844bb3f1639e7e9828a4 (diff)
downloadbugzilla-76b27fd6c9bcf9f0bcbcd8280f937192803f8dbc.tar.gz
bugzilla-76b27fd6c9bcf9f0bcbcd8280f937192803f8dbc.tar.xz
Bug 785222 - Securemail stopped decrypting today
Diffstat (limited to 'extensions/SecureMail')
-rw-r--r--extensions/SecureMail/Extension.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm
index 43c561ed9..3a774c0e8 100644
--- a/extensions/SecureMail/Extension.pm
+++ b/extensions/SecureMail/Extension.pm
@@ -443,6 +443,7 @@ sub _make_secure {
$email->parts_set([]);
$email->body_set($enc_obj->body());
$email->content_type_set('application/pkcs7-mime');
+ $email->charset_set('UTF-8') if Bugzilla->params->{'utf8'};
}
else {
$email->body_set('Error during Encryption: ' . $@);