http://bugzilla.spamassassin.org/show_bug.cgi?id=4382

           Summary: Bad content-type circumvents URIBL checks.
           Product: Spamassassin
           Version: 3.0.3
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Lately I've been getting lots of spams that have invalid Content-Type headers.
Mail::SpamAssassin::Util::parse_content_type() returns an empty content-type for
these, and as a result, URIBL checks do not happen.

Here is one example:

----09-4[5]-2047-7[3]-082[3]
Content-Type: ;text/plain;
Content-Transfer-Encoding: 7Bit

http://www.lyfdad.us/fvd
...

Note that the Content-Type starts with " ;".  Its the leading semicolon that
screws things up here.  This could probably be fixed in parse_content_type()
pretty easily.



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

Reply via email to