You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by hs...@apache.org on 2005/12/23 11:25:45 UTC

svn commit: r358787 - in /spamassassin/rules/trunk/sandbox/hstern: ./ 20_uri_tests.cf

Author: hstern
Date: Fri Dec 23 02:25:41 2005
New Revision: 358787

URL: http://svn.apache.org/viewcvs?rev=358787&view=rev
Log:
 * hstern: added sandbox directory
 * hstern/20_uri_tests.cf: added redirector pattern for ExpressionEngine, a
	piece of blogging software that has an open redirector in it.

Added:
    spamassassin/rules/trunk/sandbox/hstern/
    spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf

Added: spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf
URL: http://svn.apache.org/viewcvs/spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf?rev=358787&view=auto
==============================================================================
--- spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf (added)
+++ spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf Fri Dec 23 02:25:41 2005
@@ -0,0 +1,26 @@
+# <@LICENSE>
+# Copyright 2005 Apache Software Foundation
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#     http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# </...@LICENSE>
+#
+###########################################################################
+
+# Redirector URI patterns
+
+# ExpressionEngine redirector
+# see http://www.pmachine.com/forums/viewthread/29561/
+# e.g. http://www.someEEBasedSite.com/index.php?URL=http://www.NastyPR0nSite.com
+# e.g. http://www.pmachine.com/ee/knowledgeblog/?URL=http://www.google.com
+redirector_pattern m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&\#])'i
+