Mailing List Archive

[Bug 3153] Detect HTML pretending to be text
http://bugzilla.spamassassin.org/show_bug.cgi?id=3153





------- Additional Comments From quinlan@pathname.com 2004-03-11 16:27 -------
Um, is there a patch for that?




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 3153] Detect HTML pretending to be text [ In reply to ]
http://bugzilla.spamassassin.org/show_bug.cgi?id=3153





------- Additional Comments From matt@nightrealms.com 2004-03-11 16:51 -------
I checked it into SVN directly, r9348; I didn't think I needed to post patches
for T_* rules.

I'll upload the patch right now.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 3153] Detect HTML pretending to be text [ In reply to ]
http://bugzilla.spamassassin.org/show_bug.cgi?id=3153





------- Additional Comments From matt@nightrealms.com 2004-03-11 16:52 -------
Created an attachment (id=1831)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=1831&action=view)
Patch for HTML_PLAIN_TEXT rule




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 3153] Detect HTML pretending to be text [ In reply to ]
http://bugzilla.spamassassin.org/show_bug.cgi?id=3153





------- Additional Comments From quinlan@pathname.com 2004-03-11 19:08 -------
> I checked it into SVN directly, r9348; I didn't think I needed to post patches
> for T_* rules.

No, you don't -- I hadn't realized you had already checked it in. You need
to get listed on the committers list on the STATUS page, though.

One suggestion: try similar function in EvalTests except without this
clause of the test:

$self->{mime_body_text_count} > 0




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 3153] Detect HTML pretending to be text [ In reply to ]
http://bugzilla.spamassassin.org/show_bug.cgi?id=3153

quinlan@pathname.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED



------- Additional Comments From quinlan@pathname.com 2004-03-23 19:46 -------
ended up with something even simpler:

meta HTML_MISSING_CTYPE (!__MIME_HTML && HTML_MESSAGE)
describe HTML_MISSING_CTYPE Message is HTML without HTML Content-Type

works like a charm:

0.167 0.2054 0.0017 0.992 0.92 0.01 HTML_MISSING_CTYPE

(results for everyone running nightly corpus)




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