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 2003/01/08 17:41:54 UTC

DO NOT REPLY [Bug 15892] New: - Incorrect decoding of URL for getPathInfo()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15892

Incorrect decoding of URL for getPathInfo()

           Summary: Incorrect decoding of URL for getPathInfo()
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
               URL: http://bowmore.dcs.st-
                    andrews.ac.uk:8080/getpathbug/index.html
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jrn@dcs.st-andrews.ac.uk


"+" characters in the path info of a servlet (returned by
HttpServletRequest.getPathInfo ()) are not handled correctly. They should be
decoded to a " " character, but instead are left undecoded. Using the supplied
URL as an example, the last two tests should return "test test", and
"test+test". Instead both return "test+test".

The result of this is that it is impossible to tell the difference between a URL
which includes a " " character, and a URL which includes a "+".

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>