tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62150] Relative Paths have changd
Date Fri, 02 Mar 2018 16:33:15 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62150

Remy Maucherat <remm@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #6 from Remy Maucherat <remm@apache.org> ---
Ok, so the option is to put a normalize step in Request.getRequestDispatcher if
this is a relative path. The problem is it's a bit more annoying to do it
earlier as it needs splitting the query string before putting it back.

If you think it is compliant, let's do nothing. Or it could be something
optional with a config setting (there's context.getDispatchersUseEncodedPaths
too). I'll update the bug to be a possible enhancement.

Overall, the spec provides requestURI, but it's mostly useless as you have to
replicate the same complex processing on it that the container does to avoid
security problems.

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


Mime
View raw message