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 11318] New: - Wrong decoding in HttpServletRequest.getPathInfo()
Date Wed, 31 Jul 2002 07:33:00 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message