X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=doc%2Fwebserver%2Fuser-manual%2Factions-file.html;fp=doc%2Fwebserver%2Fuser-manual%2Factions-file.html;h=1769a4e5ba59588de96bfc85672871ab15a46e66;hp=9c5f6b20da847f5c044f8b660f03daf89cdc6a05;hb=a057c133f3d65c4136f39938c73c9c85ee33d7a1;hpb=9540faa0465d9a358b8ad5451dbb93b20e819556 diff --git a/doc/webserver/user-manual/actions-file.html b/doc/webserver/user-manual/actions-file.html index 9c5f6b20..1769a4e5 100644 --- a/doc/webserver/user-manual/actions-file.html +++ b/doc/webserver/user-manual/actions-file.html @@ -899,7 +899,57 @@
Block requests based on the content of the body data.
+Client request bodies to which this action applies are filtered on-the-fly through the specified + regular expression based substitutions, the result is used as tag.
+Multi-value.
+The name of a client-body tagger, as defined in one of the filter + files.
+Please refer to the filter file chapter to learn how to create your own + client-body tagger.
+Client-body taggers are applied to each request body on its own, and as the body isn't modified, each + tagger "sees" the original.
+Chunk-encoded request bodies currently can't be tagged. Request bodies larger than the buffer-limit + can't be tagged either.
+
+ # Apply blafasel tagger. + {+client-body-tagger{blafasel}} + / + + # Block request based on the tag created by the blafasel tagger. + {+block{Request body contains blafasel}} + TAG:^content contains blafasel$+ |
+
Note 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