https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8265

            Bug ID: 8265
           Summary: skip binary data on TextCat processing
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: giova...@paclan.it
  Target Milestone: Undefined

Created attachment 5957
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5957&action=edit
Skip binary content

When Mail::SpamAssassin::Plugins::TextCat reads email content and encounters
binary data, it thinks it's reading utf-8 text and it might detect email
content as if it was written in chinese.

Wrongly formatted emails with
----==_mimepart_6671e32c1f96a_a4fd822983067
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: base64
Content-Disposition: inline;   

but base64 binary content can mislead the plugin processing.
The attached patch skips binary content.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to