You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2019/08/07 13:44:27 UTC

svn commit: r1864622 - /spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf

Author: hege
Date: Wed Aug  7 13:44:27 2019
New Revision: 1864622

URL: http://svn.apache.org/viewvc?rev=1864622&view=rev
Log:
Fix UPPERCASE_URI, there can be uris in 3.4 without scheme, atleast some emails

Modified:
    spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf

Modified: spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf?rev=1864622&r1=1864621&r2=1864622&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf Wed Aug  7 13:44:27 2019
@@ -181,7 +181,7 @@ meta	 FORGED_HOTMAIL_RCVD3	__HOST_HOTMAI
 
 # A blend of sidney's UPPERCASE_HTTP and jhardin's URI_UC for bug 6408
 # This one avoids Http: which I think is the biggest problem.
-uri	 UPPERCASE_URI	/^[^:A-Z]+[A-Z]/
+uri	 UPPERCASE_URI	/^[^:A-Z]+[A-Z][a-zA-Z]*:/
 describe UPPERCASE_URI	Link protocol has unexpected mixed case