You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2015/10/14 16:38:45 UTC
[Bug 7253] X-Spam-Report incorrectly mime-encodes multiline report
in header, violating RFC 2047
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7253
--- Comment #1 from Mark Martinec <Ma...@ijs.si> ---
> The culprit is MS::PerMsgStatus::qp_encode_header().
> It should encode (when necessary) each line individually,
> and should encode whitespace within encoded-word(s).
Tried to use Encode (latest version: 2.72) in qp_encode_header()
to do the encoding:
$text = Encode::encode('MIME-Header', $text);
Although the Encode::MIME::Header is much more careful than
our code, it is still wrong, resulting in an empty line
inserted in the header!!!
X-Spam-Report:
* 100 USER_IN_BLACKLIST From: address is in the user's black-list
=?UTF-8?B?CSogIDAuMCBMX1RFU1RfUkVQT1JUX0VOQ09ESU5HIEVuLXTDg8KqdGUgY29udGllbg==?=
=?UTF-8?B?dCBjYXJhY3TDg8KocmVz?=
* -0.3 BAYES_05 BODY: Bayes spam probability is 1 to 5%
* [score: 0.0137]
* 0.2 TXREP TXREP: Score normalizing based on sender's reputation
Bad, bad, bad, (and unsightly).
--
You are receiving this mail because:
You are the assignee for the bug.