svn commit: r1936044 - spamassassin/trunk/rulesrc/sandbox/khopesh

[email protected] Fri, 10 Jul 2026 14:59:39 -0000
Newsgroups gmane.mail.spam.spamassassin.cvs
Message-ID <178369557955.1883231.7952348772401571179@svn03-he-fi>
Author: jhardin
Date: Fri Jul 10 14:59:39 2026
New Revision: 1936044

Log:
Fix UPPERCASE_URI insufficient format matching causing FP

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

Modified: spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf	Fri Jul 10 14:39:40 2026	(r1936043)
+++ spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_experimental.cf	Fri Jul 10 14:59:39 2026	(r1936044)
@@ -183,8 +183,9 @@ tflags	 __HOTMAIL_HELO 	nice
 
 # 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][a-zA-Z]*:/
+uri	 UPPERCASE_URI	m;^[^:A-Z]+[A-Z][a-zA-Z]*://;
 describe UPPERCASE_URI	Link protocol has unexpected mixed case
+score    UPPERCASE_URI	2.750	# limit
 
 
 # doesn't match enough, has a higher S/O than __GREYLISTING, therefore useless.