X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.filter;h=2aa9eb4aafcd76042a7f531555830d48ffa86bbc;hb=3dceeaafa1bdd62fcbdfc9f35252c3a9115e647b;hp=8195747a867fe3ce161e2243fe421942d5f0bbcd;hpb=f170629e040780c1c7a41776314dbf52a47937d4;p=privoxy.git
diff --git a/default.filter b/default.filter
index 8195747a..2aa9eb4a 100644
--- a/default.filter
+++ b/default.filter
@@ -2,7 +2,7 @@
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
-# $Id: default.filter,v 1.89 2014/05/05 09:48:55 fabiankeil Exp $
+# $Id: default.filter,v 1.93 2016/05/25 10:50:55 fabiankeil Exp $
#
# Purpose : Rules to process the content of web pages
#
@@ -57,7 +57,8 @@
# quoting.
#
# 'D' (Dynamic) allows the use of variables. Supported variables are:
-# $host, $origin (the IP address the request came from), $path and $url.
+# $host, $listen-address, $origin (the IP address the request came
+# from), $path and $url.
#
# Note that '$' is a bad choice as delimiter for dynamic filters as you
# might end up with unintended variables if you use a variable name
@@ -144,7 +145,7 @@ FILTER: html-annoyances Get rid of particularly annoying HTML abuse.
#
s/(]+resizable=)(['"]?)(?:no|0)\2/$1$2yes$2/igU
s/(]+location=)(['"]?)(?:no|0)\2/$1$2yes$2/igU
-s/(]+status=)(['"]?)(?:no|0)\2/$1$2yes1$2/igU
+s/(]+status=)(['"]?)(?:no|0)\2/$1$2yes$2/igU
s/(]+scrolling=)(['"]?)(?:no|0)\2/$1$2auto$2/igU
s/(]+menubar=)(['"]?)(?:no|0)\2/$1$2yes$2/igU
@@ -219,11 +220,11 @@ FILTER: img-reorder Reorder attributes in tags to make the banners-by-* fi
# This makes banners-by-size more effective and allows both banners-by-size
# and banners-by-link to preserve the original image URL in the title attribute.
-s|]*)\ssrc\s*=\s*(['"])([^>\\\2]+)\2|]*)\ssrc\s*=\s*(['"])([^>'" ]+)\2|]*)\ssrc\s*=\s*([^'">\\\s]+)|]+height)\s*=\s*|$1=|sig
-s|\\\\2]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\s>])|'" ]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\s>])|