Opened 6 years ago

Closed 6 years ago

#1502 closed defect (invalid)

ngx_http_parse remove /../ from the uri

Reported by: lazylad91@… Owned by:
Priority: minor Milestone:
Component: other Version: 1.13.x
Keywords: Cc:
uname -a: 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64
nginx -V: 1.13.x


nginx normalizes URI by converting <some_path>/../<some_path>". into /<some_path>. In the URI I only get /<some_path>.

Change History (1)

comment:1 by Maxim Dounin, 6 years ago

Resolution: invalid
Status: newclosed

Normalization of URI is expected and documented behaviour, see description of the $uri variable. If you want to access the original URI as sent by the client, see the $request_uri variable

Note: See TracTickets for help on using tickets.