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 2022/05/23 09:20:21 UTC

svn commit: r1901157 - /spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DecodeShortURLs.pm

Author: hege
Date: Mon May 23 09:20:21 2022
New Revision: 1901157

URL: http://svn.apache.org/viewvc?rev=1901157&view=rev
Log:
Add current tinyurl block example. Remove deprecated go.to.

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DecodeShortURLs.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DecodeShortURLs.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DecodeShortURLs.pm?rev=1901157&r1=1901156&r2=1901157&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DecodeShortURLs.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DecodeShortURLs.pm Mon May 23 09:20:21 2022
@@ -24,7 +24,6 @@ DecodeShortURLs - Check for shortened UR
   loadplugin    Mail::SpamAssassin::Plugin::DecodeShortURLs
 
   url_shortener tinyurl.com
-  url_shortener go.to
   url_shortener_get bit.ly
 
   body HAS_SHORT_URL          eval:short_url()
@@ -45,6 +44,9 @@ DecodeShortURLs - Check for shortened UR
   body SHORT_URL_404          eval:short_url_code('404') # Can check any non-redirect HTTP code
   describe SHORT_URL_404      Message has shortened URL returning HTTP 404
 
+  uri URI_TINYURL_BLOCKED      m,https://tinyurl\.com/app/nospam,
+  describe URI_TINYURL_BLOCKED Message contains a tinyurl that has been disabled due to abuse
+
   uri URI_BITLY_BLOCKED       m,^https://bitly\.com/a/blocked,
   describe URI_BITLY_BLOCKED  Message contains a bit.ly URL that has been disabled due to abuse