From: dklawren Date: Thu, 6 Feb 2020 16:06:58 +0000 (+0100) Subject: Bug 1613686 - Improper encoding of content-type, content-transfer-encoding for securi... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7d54dc28c4f5271836bfd66ceaa9843143a24b3;p=thirdparty%2Fbugzilla.git Bug 1613686 - Improper encoding of content-type, content-transfer-encoding for security reports causes content to not be displayed properly --- diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index e6a9e4a33..ac516fa89 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -102,7 +102,7 @@ sub MessageToMTA { if !$email->header('MIME-Version'); # Certain headers should not be encoded - my @no_encode = qw(from sender reply-to to cc bcc); + my @no_encode = qw(from sender reply-to to cc bcc content-type content-transfer-encoding); push @no_encode, map { "resent-$_" } @no_encode; push @no_encode, map { "downgraded-$_" } @no_encode; # RFC 5504 push @no_encode,