Welcome! Log In Create A New Profile


autoindex does not escape URIs properly

Damian Zaremba
January 26, 2011 09:28PM
When auto index is enabled on a directory that contains files with
"special" characters IE "test file.txt" or "funny_file?" it does not
escape them resulting in in-correctly formed and sometimes completely
broken links. The expect result being that "test file.txt" is
transformed into "test%20file.txt" and "funny_file?" transformed into

I don't really have a suggestion for fixing it as the code in
core/ngx_string.c confuses the heck out of me as I'm only a beginner in
C but I'm sure someone experienced could figure it out quite easily!

Issue appears to exist in 0.8.54 and nginx-0.9.4.


nginx-devel mailing list
Subject Author Views Posted

autoindex does not escape URIs properly

Damian Zaremba 1601 January 26, 2011 09:28PM

Re: autoindex does not escape URIs properly

Maxim Dounin 740 January 27, 2011 05:18AM

Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 98
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 214 on March 20, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready