You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2006/03/12 22:44:01 UTC

svn commit: r385371 - /spamassassin/rules/branches/3.1/20_uri_tests.cf

Author: felicity
Date: Sun Mar 12 13:44:00 2006
New Revision: 385371

URL: http://svn.apache.org/viewcvs?rev=385371&view=rev
Log:
put in new version of HTTP_ESCAPED_HOST to reduce FP count, negligable drop in spam hit rate

Modified:
    spamassassin/rules/branches/3.1/20_uri_tests.cf

Modified: spamassassin/rules/branches/3.1/20_uri_tests.cf
URL: http://svn.apache.org/viewcvs/spamassassin/rules/branches/3.1/20_uri_tests.cf?rev=385371&r1=385370&r2=385371&view=diff
==============================================================================
--- spamassassin/rules/branches/3.1/20_uri_tests.cf (original)
+++ spamassassin/rules/branches/3.1/20_uri_tests.cf Sun Mar 12 13:44:00 2006
@@ -42,7 +42,7 @@
 # Theo sez:
 # Have gotten FPs off this, and whitespace can't be in the host, so...
 # %    Visit my homepage: http://i.like.foo.com %
-uri HTTP_ESCAPED_HOST		/^https?\:\/\/[^\/\s]*%[0-9a-fA-F][0-9a-fA-F]/
+uri HTTP_ESCAPED_HOST		/^https?\:\/\/[^\/\s\?\']*%[0-9a-fA-F][0-9a-fA-F]/
 describe HTTP_ESCAPED_HOST	Uses %-escapes inside a URL's hostname
 
 # note: do not match \r or \n