From 1f5413e6ae84f622b4302b55d069108c9cc1c871 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 14 Aug 2006 08:29:17 +0000 Subject: [PATCH] Split filter-headers{} into filter-client-headers{} and filter-server-headers{}. --- templates/edit-actions-for-url | 71 ++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 34 deletions(-) diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index 6bc760ce..d1153320 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -32,6 +32,9 @@ # # Revisions : # $Log: edit-actions-for-url,v $ +# Revision 1.35 2006/08/03 02:46:42 david__schmidt +# Incorporate Fabian Keil's patch work: http://www.fabiankeil.de/sourcecode/privoxy/ +# # Revision 1.34 2006/07/18 14:49:13 david__schmidt # Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch) # with what was really the latest development (the v_3_0_branch branch) @@ -558,7 +561,6 @@ function show_send_wafer_opts(tf) fast-redirects Bypass some click-tracking URLs. -     @@ -573,7 +575,6 @@ function show_send_wafer_opts(tf) id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@> -   hide-forwarded-for-headers Block any existing X-Forwarded-for header, and do not add a new one. - - hide-if-modified-since + hide-if-modified-since Remove or randomize If-Modified-Since header. @@ -650,7 +650,6 @@ function show_send_wafer_opts(tf) to keep track of your visits. - - overwrite-last-modified + overwrite-last-modified Remove or randomize If-Modified-Since header. @@ -710,7 +709,7 @@ function show_send_wafer_opts(tf) - crunch-if-none-match + crunch-if-none-match Remove If-None-Match header to circumvent browser cache. Useful for filter testing, but hurts performance. @@ -724,7 +723,7 @@ function show_send_wafer_opts(tf) - content-type-overwrite + content-type-overwrite Replace Content-Type header. Useful to let the browser render broken XHTML as broken HTML. By default it only applies to @@ -751,7 +750,7 @@ function show_send_wafer_opts(tf) - force-text-mode + force-text-mode Enable filtering on documents whose Content-Type wasn't recognized as text. Do think twice, nothing is alright. @@ -767,7 +766,7 @@ function show_send_wafer_opts(tf) - handle-as-empty-document + handle-as-empty-document Block with an empty document instead of an Image or HTML message. The empty document contains only a space and can safely be parsed @@ -775,6 +774,7 @@ function show_send_wafer_opts(tf) Content-Type, default is test/html. + - treat-forbidden-connects-like-blocks + treat-forbidden-connects-like-blocks Answer forbidden Connect requests with the usual block message. May be a protocol violation, but makes unblocking easier. - + - crunch-client-header + crunch-client-header Remove header(s) matching the supplied pattern. Together with add-header you can build a custom header replacement action. @@ -815,8 +815,6 @@ function show_send_wafer_opts(tf) - - - crunch-server-header + crunch-server-header Remove server header(s) matching the supplied pattern. @@ -839,7 +837,6 @@ function show_send_wafer_opts(tf) - - hide-accept-language + hide-accept-language Pretend to have different language settings. (Makes a fake User-Agent more believable, but can lead to foreign content.) @@ -873,8 +870,8 @@ function show_send_wafer_opts(tf) id="hide_accept_language_param" size="40" value="@hide-accept-language-param@">
- - + + @@ -885,7 +882,7 @@ function show_send_wafer_opts(tf) name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@ onclick="show_hide_content_disposition_opts(false)" > - hide-content-disposition + hide-content-disposition Block or overwrite the content-disposition header. Useful to view a document inside the browser, even if you were supposed to save it first, or to change the suggested file name. @@ -918,7 +915,7 @@ function show_send_wafer_opts(tf) - redirect + redirect Redirect to another address. @@ -930,24 +927,32 @@ function show_send_wafer_opts(tf) - - filter-headers - Apply filters to the headers as well. Only enable this if you know what you're doing. + filter-client-headers + Apply filters to the client headers as well. Only enable this if you know what you're doing. + + + + + + filter-server-headers + Apply filters to the server headers as well. Only enable this if you know what you're doing. - - - -
-
-