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/02/19 20:36:26 UTC

DO NOT REPLY [Bug 27090] New: - CGI parameters use default encoding instead of UTF-8

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

CGI parameters use default encoding instead of UTF-8

           Summary: CGI parameters use default encoding instead of UTF-8
           Product: Tomcat 5
           Version: 5.0.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlets:CGI
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kws@qad.com
                CC: kws@qad.com


The URLEncode.encode("") API has been deprecated because it uses the default 
system encoding. All application/x-www-form-urlencoded encoding should be done 
in UTF-8.

Code: CGIServlet.java

Fix:  URLEncode.encode("","UTF-8")

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