Welcome! Log In Create A New Profile

Advanced

Understanding URI Path Resolution in Nginx

Posted by themask007 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Understanding URI Path Resolution in Nginx
December 12, 2023 02:45PM
Nginx automatically resolves '.' and '..' path elements in the URI. Therefore, if the request is coming in as /auth/auth/../login, it will be evaluated to /auth/login before being processed by the location block.

We are using Nginx version 1.22.0. Could you please help us understand where this evaluation is happening and in which file under the Nginx HTTP module (nginx\src\http)?

Online Users

Guests: 98
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready