From: joergs <joergs@users.sourceforge.net>
Date: Sat, 13 Oct 2001 13:11:20 +0000 (+0000)
Subject: Fixed WebBug filter.
X-Git-Tag: v_2_9_10~134
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=bcc571c691fcc50777f5106d99234b06cb3ff350;p=privoxy.git

Fixed WebBug filter.
---

diff --git a/re_filterfile b/re_filterfile
index a6b70963..13651096 100644
--- a/re_filterfile
+++ b/re_filterfile
@@ -27,6 +27,9 @@
 # 
 #  Revisions   :
 #     $Log: re_filterfile,v $
+#     Revision 1.12  2001/10/07 15:46:42  oes
+#     Followed Guy's proposal to change the document.cookie job
+#
 #     Revision 1.11  2001/09/21 12:34:00  joergs
 #     Added filter to replace "Nimda" code by a warning.
 #
@@ -153,7 +156,7 @@ s|<img\s+[^>]*?(width=['"]?200\D)[^>]*(height=['"]?50[^>]*?)>|<img src=http://i.
 # Squish WebBugs:
 #
 # ********************************************************************/
-s/<img\s+[^>]*?(width|height)\s+=\s+['"]?1\D[^>]*?(width|height)\s+=\s+['"]?1\D[^>]*?>/<!-- Squished WebBug -->/sig
+s/<img\s+[^>]*?(width|height)\s*=\s*['"]?1\D[^>]*?(width|height)\s*=\s*['"]?1(\D[^>]*?)?>/<!-- Squished WebBug -->/sig
 
 # ********************************************************************/
 #