You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by wt...@apache.org on 2009/10/31 05:33:22 UTC

svn commit: r831515 - /spamassassin/trunk/rulesrc/sandbox/wtogami/20_unsafe.cf

Author: wtogami
Date: Sat Oct 31 04:33:21 2009
New Revision: 831515

URL: http://svn.apache.org/viewvc?rev=831515&view=rev
Log:
Improve the uri patterns, thanks hege.

Modified:
    spamassassin/trunk/rulesrc/sandbox/wtogami/20_unsafe.cf

Modified: spamassassin/trunk/rulesrc/sandbox/wtogami/20_unsafe.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/wtogami/20_unsafe.cf?rev=831515&r1=831514&r2=831515&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/wtogami/20_unsafe.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/wtogami/20_unsafe.cf Sat Oct 31 04:33:21 2009
@@ -4,7 +4,7 @@
 describe   __RCVD_VIA_APNIC   Received through a relay in Asia/Pacific Network
 
 # 20091004: 8-character .cn domain
-uri            CN_EIGHT            m;^https?://(?:[^./]+\.)*[-\w]{8}\.cn\b;
+uri            CN_EIGHT            m;^https?://(?:[^./]+\.)*[-\w]{8}\.cn(?:$|[/:\#]);
 describe       CN_EIGHT            .cn URI with eight-character domain name
 tflags         CN_EIGHT            nopublish
 #score          CN_EIGHT            0.50
@@ -15,7 +15,7 @@
 #score      CN_EIGHT_NOAPNIC  1.0
 
 # 20091006: 7-character .cn domain
-uri            CN_SEVEN            m;^https?://(?:[^./]+\.)*[-\w]{7}\.cn\b;
+uri            CN_SEVEN            m;^https?://(?:[^./]+\.)*[-\w]{7}\.cn(?:$|[/:\#]);
 describe       CN_SEVEN            .cn URI with seven-character domain name
 tflags         CN_SEVEN            nopublish
 #score          CN_SEVEN            0.01
@@ -26,6 +26,6 @@
 #score      CN_SEVEN_NOAPNIC  1.0
 
 # 20091025: .cn URI beginning with rx
-uri            CN_RX            m;^https?://(?:[^./]+\.)*rx[-\w].+\.cn\b;
+uri            CN_RX            m;^https?://(?:[^./]+\.)*rx[-\w].+\.cn(?:$|[/:\#]);
 describe       CN_RX            .cn URI beginning with rx
 tflags         CN_RX            nopublish