spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhar...@apache.org
Subject svn commit: r1734342 - /spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
Date Thu, 10 Mar 2016 02:05:56 GMT
Author: jhardin
Date: Thu Mar 10 02:05:56 2016
New Revision: 1734342

URL: http://svn.apache.org/viewvc?rev=1734342&view=rev
Log:
add test rule __SPAN_INVIS

Modified:
    spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf

Modified: spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf?rev=1734342&r1=1734341&r2=1734342&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Thu Mar 10 02:05:56 2016
@@ -1990,6 +1990,8 @@ meta      __STY_INVIS_MANY
 #meta      HTML_TEXT_INVISIBLE           __STY_INVIS_MANY
 #describe  HTML_TEXT_INVISIBLE           Hidden text
 #score     HTML_TEXT_INVISIBLE           2.000   # limit
+# try it on span tags only...
+rawbody   __SPAN_INVIS                  /<span\s[^>]{0,80}style\s*=(?:3d)?\s*"\s*(?:visibility\s*:\s*hidden\s*;|display\s*:\s*none\s*;|background\s*:)/i
 
 # Adapted from SARE rules __SARE_HTML_SINGLET*
 rawbody   __HTML_SINGLET                />\s*(?:[a-z"]|&\#(?:\d+|x[0-9a-f]+);)\s*</i



Mime
View raw message