From a1c44c930aba3f4c6301b10d84389ff7afb258a4 Mon Sep 17 00:00:00 2001
From: Fabian Keil Use the if the --privoxy-address option if the http_proxy environment variable isn't
- configured.
Rewrite or remove client request body.
+All request bodies to which this action applies are filtered on-the-fly through the specified regular + expression based substitutions.
+Multi-value.
+The name of a client-body filter, as defined in one of the filter + files.
+Please refer to the filter file chapter to learn how to create your own + client-body filters.
+The distribution default.filter file contains a selection of client-body + filters for example purposes.
+The amount of data that can be filtered is limited by the buffer-limit option in the main config + file. The default is 4096 KB (4 Megs). Once this limit is exceeded, the whole request body is passed + through unfiltered.
+
+ # Remove "test" everywhere in the request body +{+client-body-filter{remove-test}} +/+ |
+
The amount of data that can be filtered is limited to the The amount of data that can be filtered is limited by the buffer-limit option in the main config file. The default is 4096 KB (4 Megs). Once this limit is exceeded, the buffered data, and all pending data, is passed through unfiltered.
@@ -1864,7 +1912,7 @@ problem-host.example.comNote that many of these actions have the potential to cause a page to misbehave, possibly even not to display at all. There are many ways a site designer may choose to design his site, and what HTTP header content, and other criteria, he may depend on. There is no way to have hard and fast rules for all sites. See diff --git a/doc/webserver/user-manual/appendix.html b/doc/webserver/user-manual/appendix.html index 716930f3..be074b3f 100644 --- a/doc/webserver/user-manual/appendix.html +++ b/doc/webserver/user-manual/appendix.html @@ -202,7 +202,7 @@ these. If not, you will get a friendly error message. Internet access is not necessary either.
Privoxy main page:
+Privoxy main page:
@@ -211,7 +211,7 @@ "APPLICATION">Privoxy)
View and toggle client tags:
+View and toggle client tags:
@@ -219,21 +219,21 @@
Show information about the current configuration, including viewing and editing of actions - files:
+ files:Show the browser's request headers:
+Show the browser's request headers:
Show which actions apply to a URL and why:
+Show which actions apply to a URL and why:
http://config.privoxy.org/show-url-info
@@ -242,15 +242,15 @@Toggle Privoxy on or off. This feature can be turned off/on in the main config file. When toggled "off", "Privoxy" continues to run, - but only as a pass-through proxy, with no actions taking place:
+ but only as a pass-through proxy, with no actions taking place:-Short cuts. Turn off, then on:
+Short cuts. Turn off, then on:
-+
http://config.privoxy.org/toggle?set=enable
diff --git a/doc/webserver/user-manual/filter-file.html b/doc/webserver/user-manual/filter-file.html index 12c9713d..a881b3ed 100644 --- a/doc/webserver/user-manual/filter-file.html +++ b/doc/webserver/user-manual/filter-file.html @@ -29,12 +29,13 @@9. Filter Files
On-the-fly text substitutions need to be defined in a "filter file". Once defined, they can then be invoked as an "action".
-Privoxy supports three different pcrs-based filter actions: Privoxy supports four different pcrs-based filter actions: filter to rewrite the content that is send to the client, client-header-filter to rewrite - headers that are send by the client, and server-header-filter to rewrite headers that are send by the - server.
+ server, and client-body-filter to + rewrite client request body.Privoxy also supports two tagger actions: client-header-tagger and server-header-tagger. Taggers and filters use the same syntax in @@ -59,9 +60,9 @@
Just like the actions files, the filter file is organized in sections, which are called filters here. Each filter consists of a heading line, that starts with one of the keywords FILTER:, CLIENT-HEADER-FILTER: or SERVER-HEADER-FILTER: followed by the filter's name, and a short (one line) FILTER:, CLIENT-HEADER-FILTER:, SERVER-HEADER-FILTER: or CLIENT-BODY-FILTER: followed by the filter's + name, and a short (one line) description of what it does. Below that line come the jobs, i.e. lines that define the actual text substitutions. By convention, the name of a filter should describe what the filter eliminates. The diff --git a/doc/webserver/user-manual/index.html b/doc/webserver/user-manual/index.html index 2b303ecb..b6ef85b2 100644 --- a/doc/webserver/user-manual/index.html +++ b/doc/webserver/user-manual/index.html @@ -231,42 +231,43 @@
- 8.5.2. block
- 8.5.3. change-x-forwarded-for
- 8.5.4. client-header-filter
-- 8.5.5. client-header-tagger
-- 8.5.6. content-type-overwrite
-- 8.5.7. crunch-client-header
-- 8.5.8. crunch-if-none-match
-- 8.5.9. crunch-incoming-cookies
-- 8.5.10. crunch-server-header
-- 8.5.11. crunch-outgoing-cookies
-- 8.5.12. deanimate-gifs
-- 8.5.13. delay-response
-- 8.5.14. downgrade-http-version
-- 8.5.15. external-filter
-- 8.5.16. fast-redirects
-- 8.5.17. filter
-- 8.5.18. force-text-mode
-- 8.5.19. forward-override
-- 8.5.20. handle-as-empty-document
-- 8.5.21. handle-as-image
-- 8.5.22. hide-accept-language
-- 8.5.23. hide-content-disposition
-- 8.5.24. hide-if-modified-since
-- 8.5.25. hide-from-header
-- 8.5.26. hide-referrer
-- 8.5.27. hide-user-agent
-- 8.5.28. https-inspection
-- 8.5.29. ignore-certificate-errors
-- 8.5.30. limit-connect
-- 8.5.31. limit-cookie-lifetime
-- 8.5.32. prevent-compression
-- 8.5.33. overwrite-last-modified
-- 8.5.34. redirect
-- 8.5.35. server-header-filter
-- 8.5.36. server-header-tagger
-- 8.5.37. suppress-tag
-- 8.5.38. session-cookies-only
-- 8.5.39. set-image-blocker
-- 8.5.40. Summary
+- 8.5.5. client-body-filter
+- 8.5.6. client-header-tagger
+- 8.5.7. content-type-overwrite
+- 8.5.8. crunch-client-header
+- 8.5.9. crunch-if-none-match
+- 8.5.10. crunch-incoming-cookies
+- 8.5.11. crunch-server-header
+- 8.5.12. crunch-outgoing-cookies
+- 8.5.13. deanimate-gifs
+- 8.5.14. delay-response
+- 8.5.15. downgrade-http-version
+- 8.5.16. external-filter
+- 8.5.17. fast-redirects
+- 8.5.18. filter
+- 8.5.19. force-text-mode
+- 8.5.20. forward-override
+- 8.5.21. handle-as-empty-document
+- 8.5.22. handle-as-image
+- 8.5.23. hide-accept-language
+- 8.5.24. hide-content-disposition
+- 8.5.25. hide-if-modified-since
+- 8.5.26. hide-from-header
+- 8.5.27. hide-referrer
+- 8.5.28. hide-user-agent
+- 8.5.29. https-inspection
+- 8.5.30. ignore-certificate-errors
+- 8.5.31. limit-connect
+- 8.5.32. limit-cookie-lifetime
+- 8.5.33. prevent-compression
+- 8.5.34. overwrite-last-modified
+- 8.5.35. redirect
+- 8.5.36. server-header-filter
+- 8.5.37. server-header-tagger
+- 8.5.38. suppress-tag
+- 8.5.39. session-cookies-only
+- 8.5.40. set-image-blocker
+- 8.5.41. Summary
- 8.6. Aliases
-- 2.49.0