[edit] merge_slashes

Syntax: merge_slashes on | off
Default: on
Context: http
server
Reference: merge_slashes


Enables merging adjacent slashes when parsing the request line. For example, a request for http://www.example.com/foo//bar/ will produce the following values for $uri:

Be aware that static location matching is performed as a string compare, so if merge_slashes is turned off, a request for /foo//bar/ will *not* match location /foo/bar/.


Module: HttpCoreModule