https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8579
Bug ID: 8579
Summary: Improper handling of encoded word line break in header
value
Product: Spamassassin
Version: 4.0.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Libraries
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Created attachment 6302
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6302&action=edit
patch to turn a line break from an encoded word into a space
_decode_header in Message/Node.pm removes the line breaks of a folded header
field and then decodes its encoded words. A CR or LF that an encoded word
decodes to stays in the value. A rule on that header then gets a value of
several lines. A rule on ALL gets lines that are not header fields. Body rules
get the Subject too, so they count such a Subject as several lines of text.
The attached patch turns a CR or LF from an encoded word into a space. Several
in a row become one space. The patch adds one case to t/get_headers.t.
--
You are receiving this mail because:
You are the assignee for the bug.