]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1613686 - Improper encoding of content-type, content-transfer-encoding for securi...
authordklawren <dklawren@users.noreply.github.com>
Thu, 6 Feb 2020 16:06:58 +0000 (17:06 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2020 16:06:58 +0000 (17:06 +0100)
Bugzilla/Mailer.pm

index e6a9e4a33e6612a82367341425899d65427aaa34..ac516fa890293ac4ef8a02573c43ee9d343322e4 100644 (file)
@@ -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,