Bug 2251 - OBFUSCATING_COMMENT stricter than Outlook's comment parsing
Summary: OBFUSCATING_COMMENT stricter than Outlook's comment parsing
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (Eval Tests) (show other bugs)
Version: 2.55
Hardware: All other
: P5 normal
Target Milestone: 2.70
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 14:01 UTC by SA bug reporter
Modified: 2003-08-21 15:32 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description SA bug reporter 2003-07-22 14:01:16 UTC
Outlook (and most other things) thinks a comment is anything starting with 
<!
rather than
<!-- etc

so 
<!s945gdfdaftif0cb39><a 
href="http://www.viagr1adomainsmarketg.biz/optout.php">Click Here to Opt Out<!
1pggcccc9cb8></a>

slips on by.
20_meta_tests.cf:rawbody __OBFUSCATING_COMMENT  /[^\s>]<!--.{0,64}?-->[^\s<]/
becomes
20_meta_tests.cf:rawbody __OBFUSCATING_COMMENT  /[^\s>]<!.{0,64}?.>[^\s<]/
Comment 1 Brian White 2003-07-23 06:05:24 UTC
Just wanted to point out that this case is covered by my patch in bug #2211.  It 
doesn't count it as a comment (since according to the HTML spec, it isn't) but 
rather as a "bad tag".

-- Brian
Comment 2 Daniel Quinlan 2003-08-21 23:32:41 UTC
This is already fixed in 2.60 tree, thanks for the report!