https://bz.apache.org/bugzilla/show_bug.cgi?id=63214

--- Comment #2 from Rainer Jung <rainer.j...@kippdata.de> ---
The use of ap_os_escape_path() goes back to the original implementation of the
JkAutoAlias feature for httpd 1.3.x. svn logs do not give any idication why it
was used.

Currently in the 2.0 code, IMHO the resulting string is always used in the
context of file system operations (either apr_stat or r->filename). So I don't
see a reason why it should be percent encoded. On the contrary, there should be
many cases where this makes it fail.

I couldn't find other older bug reports, but it might be due to the fact, that
context names rarely contain special characters which would have been ecoded by
ap_os_escape_path(). A space is probably the most common case.

I am +1 for the suggested patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to