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 2004/01/14 12:29:53 UTC

DO NOT REPLY [Bug 26118] New: - Tomcat parses the query string parameters as iso-8859-1

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=26118>.
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=26118

Tomcat parses the query string parameters as iso-8859-1

           Summary: Tomcat parses the query string parameters as iso-8859-1
           Product: Tomcat 5
           Version: 5.0.16
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Connector:HTTP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: tomekn@max.com.pl


Tomcat always parses the query string as iso-8859-1.

For example when page submits UTF-8 encoded data and the request method is GET 
(or POST with data included in query string), request.getParameter() (and other 
getParameter... methods) returns invalid values for paramters submitted via 
query string. Posted parameters are ok.

Setting encoding with setCharacterEncoding() doesn't help.

This problem has been already submitted for version 4.1.29 (bug #25526), but I 
belive it's present in Tomcat since version 4.1.28 (Tomcat 4.1.27 works fine!!)

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