tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39278] - getRequestURI returns decoded URI contrary to spec
Date Mon, 17 Apr 2006 20:16:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39278>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39278


jalkanen@ecyrd.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From jalkanen@ecyrd.com  2006-04-17 20:16 -------
Verified.

http://localhost:8080/servlets-examples/servlet/RequestInfoExample/blah+Junk/something

returns

Request URI:
http://localhost:8080/servlets-examples/servlet/RequestInfoExample/blah+Junk/something

and

PathInfo: /blah+Junk/something

instead of

PageInfo: /blah Junk/something

This is kinda bad, as it makes it programmatically impossible to figure out
whether a given "+" is actually a space or a decoded "%2B" (the + sign).

Uneducated guess, based on a quick look: It seems to me that this is because
UDecoder only decodes + signs in parameters, not in the path.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message