From 480d1ff01aeaa0256ce6b3cbbb4aadb97324689b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 26 Jan 2008 15:45:39 +0000 Subject: [PATCH] Don't let the less-download-windows filter mess up "Content-Type: application/x-shockwave-flash" headers. --- ChangeLog | 2 ++ default.filter | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 866d4824..277bf300 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ ChangeLog for Privoxy message after using the edit button. - Fixed false-positives with the link-by-url filter and URLs that contain the pattern "/jump/". +- The less-download-windows filter no longer messes + "Content-Type: application/x-shockwave-flash" headers up. *** Version 3.0.8 *** diff --git a/default.filter b/default.filter index db161fc9..1397e456 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.55 2007/12/31 19:53:59 fabiankeil Exp $ +# $Id: default.filter,v 1.56 2008/01/25 19:12:40 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # @@ -727,7 +727,7 @@ s@^((?:Referer|Host):\s*(?:https?://)?[^/]*)\.[^\./]*?\.exit@$1@i SERVER-HEADER-FILTER: less-download-windows Prevent annoying download windows for content types the browser can handle itself. s@^Content-Disposition:.*filename=(["']?).*\.(png|gif|jpe?g|diff?|d?patch|c|h|pl|shar)\1.*$@@i -s@^(Content-Type:)\s*(?:message/(?:news|rfc822)|text/x-.*|application/x-sh)\s*@$1 text/plain@i +s@^(Content-Type:)\s*(?:message/(?:news|rfc822)|text/x-.*|application/x-sh(?:\s|$))\s*@$1 text/plain@i ################################################################################# # @@ -830,6 +830,12 @@ s@^X-Privoxy-Control:.*@@i # # Revisions : # $Log: default.filter,v $ +# Revision 1.56 2008/01/25 19:12:40 fabiankeil +# - Add yet another new yahoo ad id. +# - Don't let the first banners-by-link job punish URLs for merely +# containing the pattern "/jump/" when it should really look for +# "doubleclick\.net/jump/". +# # Revision 1.55 2007/12/31 19:53:59 fabiankeil # Let the msn filter remove the width limitation again. # -- 2.39.2