TAG NAME uri_whitespace

Description Used to specify the action of Squid when the requests that have whitespace characters in the URI
Built Option
Default
Usage
uri_whitespace action
Default
uri_whitespace strip
Synopsis
When the requested URL’s contains whitespaces, them this tag is used to specify the action of Squid on that URL’s. Actions are shown in the table below.

Actions:
strip
The whitespace characters are stripped out of the URL. This is the behavior recommended by RFC2396.
deny
The request is denied.  The user receives an “Invalid Request” message.
allow
The request is allowed and the URI is not changed.  The whitespace characters remain in the URI.  Note the whitespace is passed to
redirector processes if they are in use.
encode
The request is allowed and the whitespace characters are encoded according to RFC1738.  This could be considered a violation of
the HTTP/1.1 RFC because proxies are not allowed to rewrite URI’s.
chop
The request is allowed and the URI is chopped at the first whitespace.  This might also be considered a violation.

Arguments

acion
Action of Squid on identifying the white spaces

Example(s)
uri_whitespace deny