diff options
author | Byron Jones <glob@mozilla.com> | 2014-11-03 09:25:26 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-11-03 09:25:26 +0100 |
commit | d6ee5ade172abe24389aca15eba9fe922b5697c7 (patch) | |
tree | 7732cda46da5086f479aaf5311f1799503b82b0d | |
parent | 2090798550ab0b713a4c6a366634835c767af219 (diff) | |
download | bugzilla-d6ee5ade172abe24389aca15eba9fe922b5697c7.tar.gz bugzilla-d6ee5ade172abe24389aca15eba9fe922b5697c7.tar.xz |
Bug 1092949: bugmail failing with "utf8 "\x82" does not map to Unicode at /usr/lib64/perl5/Encode.pm line 174"
-rw-r--r-- | extensions/Splinter/lib/Util.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/Splinter/lib/Util.pm b/extensions/Splinter/lib/Util.pm index e6cbe7493..870e67be7 100644 --- a/extensions/Splinter/lib/Util.pm +++ b/extensions/Splinter/lib/Util.pm @@ -132,6 +132,7 @@ sub munge_create_attachment { sub add_review_links_to_email { my $email = shift; return if $email->parts > 1; + return unless $email->content_type =~ m#^text/#; _fix_encoding($email); my $body = $email->body_str; |