From: hal9 <hal9@users.sourceforge.net>
Date: Mon, 19 Feb 2007 11:22:48 +0000 (+0000)
Subject: Adding back the orginal filter content to offset problems found by Fabian.
X-Git-Tag: v_3_0_7~330
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/@default-cgi@show-url-info?a=commitdiff_plain;h=bb5aa536b75ff94628395d18f8b8deb2361f0de6;p=privoxy.git

Adding back the orginal filter content to offset problems found by Fabian.
---

diff --git a/default.filter b/default.filter
index e861098b..1a05dd58 100644
--- a/default.filter
+++ b/default.filter
@@ -2,7 +2,7 @@
 # 
 #  File        :  $Source: /cvsroot/ijbswa/current/default.filter,v $
 # 
-#  $Id: default.filter,v 1.36 2007/02/05 16:47:31 fabiankeil Exp $
+#  $Id: default.filter,v 1.37 2007/02/17 13:29:44 hal9 Exp $
 #
 #  Purpose     :  Rules to process the content of web pages
 # 
@@ -433,6 +433,10 @@ FILTER: crude-parental Crude parental filtering
 # (Note: Middlesex, Sussex and Essex are counties in the UK, not rude words)
 # (Note #2: Is 'sex' a rude word?!)
 
+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
+
 # Remove by description
 s/^.*\
 (suck |lick |tounge |rub |fuck |fingering |finger |chicks? )?\
@@ -691,6 +695,9 @@ s@^((?:Referer|Host):\s*(?:https?://)?[^/]*)\.[^\./]*?\.exit@$1@i
 #
 #  Revisions   :
 #     $Log: default.filter,v $
+#     Revision 1.37  2007/02/17 13:29:44  hal9
+#     Updates to the crude parental filter per Feature Requests item #1648657.
+#
 #     Revision 1.36  2007/02/05 16:47:31  fabiankeil
 #     - Let banners-by-link look for "advert".
 #     - Fix XML systax problems with banners-by-link