| Tag Name | uri_whitespace |
| Usage | uri_whitespace options |
Description
The action to be done on the requests that have whitespace characters in the URI is decided with this tag. Available options:
strip:
The whitespace characters are stripped out of the URL. This is the behavior recommended by RFC2616.
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 as a violation.
| Default | uri_whitespace strip |
Example
uri_whitespace chop