[Privoxy-devel] filterable files (was: TODO 157)

Lee ler762 at gmail.com
Sun Jun 4 15:40:51 UTC 2017


On 5/25/17, Fabian Keil <fk at fabiankeil.de> wrote:
> Lee <ler762 at gmail.com> wrote:
>
>> On 5/24/17, Fabian Keil <fk at fabiankeil.de> wrote:
>
>> > Lee <ler762 at gmail.com> wrote on ijbswa-developers@:
>
>> How do you feel about turning off filtering for things that most
>> probably don't need it?
>> I have this bit in my user.action:
>> {-filter -deanimate-gifs}
>>
   <.. snip ..>
> Have you observed these file types to be frequently served
> with a Content-Type that Privoxy considers to be filterable?

So far, the only thing I've noticed that privoxy considers filterable
that I think shouldn't be is
Content-Type: image/svg+xml

It _is_ text, so one could argue it should be filtered, but the
filters I have would most probably break the image if they actually
made a change so I added this bit to user.action:

# Tag every request with the content type declared by the server
{+server-header-tagger{content-type}}
/
{ -filter }
TAG:^image/svg\+xml		# leave image/svg+xml data alone

Regards,
Lee


More information about the Privoxy-devel mailing list