You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/04/28 03:55:36 UTC

svn commit: rev 10335 - incubator/spamassassin/trunk/t

Author: felicity
Date: Tue Apr 27 18:55:36 2004
New Revision: 10335

Modified:
   incubator/spamassassin/trunk/t/uri.t
Log:
bug 3318: added a test for encoded redirects

Modified: incubator/spamassassin/trunk/t/uri.t
==============================================================================
--- incubator/spamassassin/trunk/t/uri.t	(original)
+++ incubator/spamassassin/trunk/t/uri.t	Tue Apr 27 18:55:36 2004
@@ -90,6 +90,15 @@
    'http:/www.spamassassin.org',
    ]));
 
+ok(try_canon(['http://images.google.ca/imgres?imgurl=gmib.free.fr/viagra.jpg&imgrefurl=http://www.google.com/url?q=http://www.google.com/url?q=%68%74%74%70%3A%2F%2F%77%77%77%2E%65%78%70%61%67%65%2E%63%6F%6D%2F%6D%61%6E%67%65%72%33%32'],
+   [
+   'http://images.google.ca/imgres?imgurl=gmib.free.fr/viagra.jpg&imgrefurl=http://www.google.com/url?q=http://www.google.com/url?q=%68%74%74%70%3A%2F%2F%77%77%77%2E%65%78%70%61%67%65%2E%63%6F%6D%2F%6D%61%6E%67%65%72%33%32',
+   'http://images.google.ca/imgres?imgurl=gmib.free.fr/viagra.jpg&imgrefurl=http://www.google.com/url?q=http://www.google.com/url?q=http://www.expage.com/manger32',
+   'http://www.expage.com/manger32',
+   'http://www.google.com/url?q=http://www.expage.com/manger32',
+   'http://www.google.com/url?q=http://www.google.com/url?q=http://www.expage.com/manger32',
+   ]));
+
 ##############################################
 
 sub try {