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 2612 January 26, 2011 09:28PM

Re: autoindex does not escape URIs properly

Maxim Dounin 1235 January 27, 2011 05:18AM



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

Online Users

Guests: 80
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