Re: unable to whitelist TAG
Fabian Keil <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.devel |
|---|---|
| Message-ID | <[email protected]> |
Sebastian Müller <[email protected]> wrote: > using TAG to Tag content isnt allowing whitelist (-filter) for path or > domains. Is this by purpose or is that a bug? It's by design. > example: > > (HTML-CONTENT based on a Content-Type Tag) > > {+filter{some-content}} > TAG:^HTML-CONTENT$ > > {-filter{some-content}} > example.com > /example > > in this case, whitelisting (-filter) isnt working. More precisely it's ineffective because: "... tag patterns are checked after the URL patterns and thus always overrule them ..." http://www.privoxy.org/user-manual/actions-file.html#TAG-PATTERN Sections that are enabled with tag pattern can only be overruled by other sections that are enabled with tag patterns. For example you could first tag your example requests with "NO-FILTERING", and then disable filtering if the tag is set. Not tagging requests for "example.com" and "/example" with "HTML-CONTENT" in the first place should work as well of course. Fabian ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Ijbswa-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ijbswa-developers
signature.asc
(application/pgp-signature, 834 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBCAAGBQJRj5FLAAoJEGkYIpGLojcclsAQAJjWWj7LorAmNJo5vNNPySw7 gO6cKA59nRibAhss7+nYc5CxxwRQVCKqONnRL/lyRHX3Sc7EUhu3H3N8L8wMDGrQ 8npS8xpXFlISJpalbnbwherTyjPgP/yvLPr0aRmqp0LoP0rHnT3qe5WKK890CHbg U6k2bjDTXi3EudWED8V5Q6E0iqEZYuzV1+F+znXsWJbbK3q9FE9yZzojfiGLzHr/ HGyEeN8WMw/cl9TJBhJgMrkKdfHlJf+vZcXGeu0nNcpEwYmJbv+bdK3MdMu4Aqfi gEeAlmlF7ddelAhKJED0pnivfV7NKGMtVf0/ONsBpANq0omelAXseNhHClxsOYBc s1s5kbTIbyHqVIXeUzsGLRdPLncu8fodx9NoMcg7kveoSXjq1cZ7l7zDtAtKL+Iu q/xJTLqF0nBl/RdpKGiMqk2R4EVzXd5km/BG4kzMy0FvKsR55bQ9ypwJVJif2Weq wyMIN+SMacswulc0b+YMj/0jjvLE3rqcxpLtv/VKUX7z1PwYtBNxAvRr0EqH3h1W qMyThxDH5WY/J6kBjZoV7Mztjt4iu2weTCeA/GNYau42fmD56Zbvc3CcgH84Gayi OYn5gv3tPsGGWs9maR1cyAeRrDwmmU2Gr6U+dbalhd6MiYwkuiHu1icxQ63jc5oB iv6RjL4TVpFMv7xy5vJu =S6lA -----END PGP SIGNATURE-----