Fix for feature Req #495374: http-equiv problem
[privoxy.git] / re_filterfile
index 61b022d..d833667 100644 (file)
 # 
 #  Revisions   :
 #     $Log: re_filterfile,v $
+#     Revision 1.14  2001/12/09 18:55:11  david__schmidt
+#     Updated CODE_STATUS to beta, commented out microsuck line in re_filterfile
+#     for 2.9.10 beta
+#
 #     Revision 1.13  2001/10/13 13:11:20  joergs
 #     Fixed WebBug filter.
 #
@@ -85,7 +89,9 @@ s/(<body .*?)onunload(.*?>)/$1never$2/i
 # check it out on http://www.airport-cgn.de/ and go to the arrivals page.
 #
 # ********************************************************************/
-s/<meta[^>]*http-equiv[^>]*refresh.*URL=([^>]*?)"?>/<link rev="x-refresh" href=$1>/i
+# only if content value isn't 0..1
+# FIXME: second line like first line for content value
+s/<meta[^>]*http-equiv[^>]*refresh.*([0-9]+[0-9]|"[2-9]);URL=([^>]*?)"?>/<link rev="x-refresh" href=$2>/i
 s/<meta[^>]*http-equiv="?page-enter"?[^>]*content=[^>]*>/<!--no page enter for me-->/i
 
 # ********************************************************************/
@@ -179,13 +185,6 @@ s/<img\s+[^>]*?(width|height)\s*=\s*['"]?1\D[^>]*?(width|height)\s*=\s*['"]?1(\D
 #s%^.*(?<!middle)(?<!sus)(?<!es)sex.*$%<html><head><title>Blocked</title></head><body><h3>Blocked due to possible adult content. Please see <a href="http://dmoz.org/Kids_and_Teens/">this site</a>.</h3></body></html>%is
 #s+^.*warez.*$+<html><head><title>No Warez</title></head><body><h3>You're not searching for illegal stuff, are you?</h3></body></html>+is
 
-# ********************************************************************/
-#
-# http://www.farscapezone.com/wwwboard/messages/1451.html
-#
-# ********************************************************************/
-s/(\w+) was tired/<b>$1 needed more coffee<\/b>/ig
-
 # ********************************************************************/
 #
 # Remove Nimda code.