You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2020/10/28 21:21:17 UTC
svn commit: r1882952 -
/spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
Author: jhardin
Date: Wed Oct 28 21:21:17 2020
New Revision: 1882952
URL: http://svn.apache.org/viewvc?rev=1882952&view=rev
Log:
Tune __URI_GOOGLE_DOC to catch regular documents as well as sheets
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=1882952&r1=1882951&r2=1882952&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Wed Oct 28 21:21:17 2020
@@ -1234,7 +1234,7 @@ score FROM_MISSP_PHISH 3.500 #
uri __URI_YOUSENDIT m,^https?://www\.yousendit\.com/directdownload,i
# see also DOS_GOOGLE_DOCS
-uri __URI_GOOGLE_DOC m,^https?://docs\.google\.com/(?:[^/]+/)*view(?:form)?\?(?:id|formkey)=,i
+uri __URI_GOOGLE_DOC m,^https?://docs\.google\.com/(?:[^/]+/)*(?:view(?:form)?\?(?:id|formkey)=|document/),i
uri __URI_GOOGLE_DRV m,^https?://(?:drive\.google|googledrive)\.com/,i
body __WEBMAIL_ACCT /\byour web ?mail account/i