diff options
author | mkanat%bugzilla.org <> | 2007-11-27 02:33:47 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-11-27 02:33:47 +0000 |
commit | c031e0bf0b505e711e48dbe71dd248326e9e77f3 (patch) | |
tree | 556fa0e279675bc956c8343d9d59d5e172516c2d /Bugzilla/Mailer.pm | |
parent | b8b5fb03bd8a552b993f85764868dab35bdd3267 (diff) | |
download | bugs-c031e0bf0b505e711e48dbe71dd248326e9e77f3.tar bugs-c031e0bf0b505e711e48dbe71dd248326e9e77f3.tar.gz bugs-c031e0bf0b505e711e48dbe71dd248326e9e77f3.tar.bz2 bugs-c031e0bf0b505e711e48dbe71dd248326e9e77f3.tar.xz bugs-c031e0bf0b505e711e48dbe71dd248326e9e77f3.zip |
Bug 374424: unnecessary line breaks and excessive indentation in email subject lines
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Mailer.pm')
-rw-r--r-- | Bugzilla/Mailer.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index 9c61d54b4..a8ab64913 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -71,6 +71,8 @@ sub MessageToMTA { utf8::decode($value); } my $encoded = encode('MIME-Q', $value); + # Encode adds unnecessary line breaks, with two spaces after each. + $encoded =~ s/\n / /g; $email->header_set($header, $encoded); } } |