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

http://issues.apache.org/bugzilla/show_bug.cgi?id=35775

           Summary: GET - request parameter parsing fails with german
                    umlaute.
           Product: Tomcat 5
           Version: 5.0.28
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


GET links in form of: 

http://www.host.net/help/search.html?action=search&query=+Verkn%C3%BCpfung

will bring a parameter value for key "query": Verkn\u20\uc3pfung

An UrlDecoder should decode the encoded url parts \u20\uc3 to 'ü' on the server
side. java.net.UrlDecoder does this correctly. 

As soon as the first parameter is requested from a
CoyoteRequestFacade->CoyoteRequest->org.apache.coyote.Request, 
the internal Parameters instance of the Request instance changes: It's internal
member paramHashStringArray is filled with the parameters that have been
modified in this wrong way: "%3C" is interpreted to be a "unicode literal": the
leading '%' is removed and the trailing parts are treated like a literal for a
code point and transformed (here: LATIN CAPITAL LETTER A WITH TILDE). 

Perhaps the org.apache.tomcat.util.buf.UDecoder is the reason? Why not taking
the std. java solution?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to