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

--- Comment #10 from John Hardin <[email protected]> ---
I just noticed an apparent error in the antipatterns in the test script that I
cloned:

185     invalid_ltd.foo         !invalid_tld
186     invalid_ltd.bar         !invalid_tld
187     invalid_ltd.xyzzy       !invalid_tld
188     invalid_ltd.co.zz       !invalid_tld
189     
190     www.invalid_ltd.foo     !invalid_tld
191     www.invalid_ltd.bar     !invalid_tld
192     www.invalid_ltd.xyzzy   !invalid_tld
193     www.invalid_ltd.co.zz   !invalid_tld

Shouldn't the "_ltd" / "_tld" bit match to ensure the invalid TLD is not
captured as a URI?

Or are these essentially NOP'd out by mangling because SA is not doing
valid-TLD filtering? If so, should these be explicitly commented out instead of
being mangled so they pass? Like this antipattern:

222     #keyword:sportscar              !sportscar

The SVN history shows it's been that way since the initial commit.

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

Reply via email to