Commit c031e0bf authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 374424: unnecessary line breaks and excessive indentation in email subject lines

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent b8b5fb03
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment