From 1015a9f6cb8ffa6864e2de9c191d700a67bc3dc6 Mon Sep 17 00:00:00 2001 From: oes Date: Tue, 9 Apr 2002 18:34:51 +0000 Subject: [PATCH] Fixed HTML syntax in replacements --- default.filter | 49 ++++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/default.filter b/default.filter index 16dfa58a..4974cf28 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.5 2002/03/27 15:30:26 swa Exp $ +# $Id: default.filter,v 1.6 2002/04/03 19:49:52 swa Exp $ # # Purpose : Rules to process the content of web pages # @@ -74,11 +74,11 @@ FILTER: html-annoyances Get rid of particularly annoying HTML abuse # New browser windows (if allowed -- see no-popups filter below) should be # resizeable and have a location and status bar # -s/(]+)resizable=['"]?(no|0|false)['"]?(.*>)/$1resizable=1$3/igU -s/(]+)location=['"]?(no|0)['"]?(.*>)/$1location=1$3/igU -s/(]+)status=['"]?(no|0)['"]?(.*>)/$1status=1$3/igU -s/(]+)scrolling=['"]?(no|0|auto)['"]?(.*>)/$1scrolling=no$3/igU -s/(]+)menubar=['"]?(no|0)['"]?(.*>)/$1menubar=1$3/igU +s/(]+)resizable=['"]?(no|0|false)['"]?(.*>)/$1resizable="1"$3/igU +s/(]+)location=['"]?(no|0)['"]?(.*>)/$1location="1"$3/igU +s/(]+)status=['"]?(no|0)['"]?(.*>)/$1status="1"$3/igU +s/(]+)scrolling=['"]?(no|0|auto)['"]?(.*>)/$1scrolling="no"$3/igU +s/(]+)menubar=['"]?(no|0)['"]?(.*>)/$1menubar="1"$3/igU # The tag was a crime! # @@ -189,7 +189,7 @@ s* industry[ -]leading \ | unmatched \ | unparalleled \ | unrivalled \ -*BINGO! \ +*BINGO! \ *igx @@ -200,7 +200,7 @@ s* industry[ -]leading \ ################################################################################# FILTER: nimda Remove Nimda (virus) code -s%%

Internet JUNKBUSTER WARNING: This Server is infected with Nimda!%g +s%%
WARNING: This Server is infected with Nimda!%g ################################################################################# @@ -218,24 +218,24 @@ s%