You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2013/02/28 19:05:15 UTC
[Bug 6894] INVALID_DATE Problematic Regression Test
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6894
--- Comment #1 from Mark Martinec <Ma...@ijs.si> ---
> In rules/20_head_tests.cf, there is a regression test that I have commented.
> #test INVALID_DATE ok Sat, 31 Dec 2005 23:00:00
> prove t/rule_tests.t works with the 3 other INVALID_DATE tests in the same
> file but this one is not correct.
> Can someone look at the rule and the test case, please?
Theo made a time zone optional, thus making 'Sat, 31 Dec 2005 23:00:00' valid:
r553740 | felicity | 2007-07-06 07:29:26 +0200 (Fri, 06 Jul 2007) | 1 line
promote new INVALID_DATE, make test rules specifically test rules,
update the new mime epilogue/etc rules to be more efficient.
According to RFC 5322 the time zone is a required field, so the rule
seems to be too permissive.
--
You are receiving this mail because:
You are the assignee for the bug.