Welcome! Log In Create A New Profile


Understanding URI Path Resolution in Nginx

Posted by themask007 
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)?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 278
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready