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 2002/07/31 09:33:00 UTC

DO NOT REPLY [Bug 11318] New: - Wrong decoding in HttpServletRequest.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=11318>.
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=11318

Wrong decoding in HttpServletRequest.getPathInfo()

           Summary: Wrong decoding in HttpServletRequest.getPathInfo()
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: waclaw.sierek@tpg.pl


I call my servlet like this
http://host/app/MyServlet/some/path/with_UTF-8_encoded/characters

I have a filter installed that sets request character encoding to UTF-8 on all 
request.

HttpServletRequest.getPathInfo() seems always treat the URL as US-ASCI encoded.
On the other hand HttpServletRequest.getRequestURI() returs properly decoded 
String.

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