Welcome! Log In Create A New Profile

Advanced

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

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.

Thanks,
Damian

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

autoindex does not escape URIs properly

Damian Zaremba 1562 January 26, 2011 09:28PM

Re: autoindex does not escape URIs properly

Maxim Dounin 730 January 27, 2011 05:18AM



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

Online Users

Guests: 72
Record Number of Users: 8 on December 15, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready