You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/04/10 21:36:44 UTC
DO NOT REPLY [Bug 44801] New: getPathInfo() and getRequestURI()
handle %3B incorrectly
https://issues.apache.org/bugzilla/show_bug.cgi?id=44801
Summary: getPathInfo() and getRequestURI() handle %3B incorrectly
Product: Tomcat 6
Version: 6.0.16
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jessh@ptc.com
We have some servlets that take rather general path-info's. When these include
a properly escaped semicolon, invoking getPathInfo() in Tomcat results in a
truncated path info.
For example, one might have the request
http://myhost/mywebapp/servlet/myservlet/pathcomp1/pathcomp2/foo%3Bbar?spaz=bot
The expected result of getPathInfo() is
/pathcomp1/pathcomp2/foo%3Bbar
The actual result in Tomcat is:
/pathcomp1/pathcomp2/foo
Note that the %3B is already converted into a ";" character in the results of
getRequestURI(), which is also quite incorrect.
Some comparative testing shows that Sun Java Web Server behaves in the same
incorrect fashion. In the exception that proves the rule, WebSphere does this
correctly (one of the few things...)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 44801] getPathInfo() and getRequestURI() handle
%3B incorrectly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44801
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-04-10 13:30:54 PST ---
Lets give the thread on the users list a chance to conclude before opening a
bug.
If the thread does conclude there is a bug, then feel free to re-open this.
Given the users thread has already shown this doesn't happen in the direct to
Tomcat case please include httpd version and mod_jk version (if used) and any
other relevant version information if you do re-open it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 44801] getPathInfo() and getRequestURI() handle
%3B incorrectly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44801
--- Comment #2 from Jess Holle <je...@ptc.com> 2008-04-10 13:32:45 PST ---
Sorry to have jumped the gun on this.
As per the user's group thread, it would seem that this is an issue only with
Apache.
Is there any reasonable way I can tell whether this is an issue in
mod_proxy_ajp or rather in the Tomcat side of things?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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