autoindex does not escape URIs properly

Maxim Dounin mdounin at
Thu Jan 27 13:16:49 MSK 2011


On Thu, Jan 27, 2011 at 02:29:45AM +0000, Damian Zaremba wrote:

> 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 "funny_file%3F"

Space is handled correctly with current code, please retest.  
Question mark should be fixed with this patch:

Maxim Dounin

More information about the nginx-devel mailing list