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=24283>. 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=24283 Wrong result in request.getPathInfo() using 2-byte Unicode characters Summary: Wrong result in request.getPathInfo() using 2-byte Unicode characters Product: Tomcat 4 Version: 4.1.27 Platform: All OS/Version: All Status: NEW Severity: Critical Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If you call a servlet with 2-byte Unicode characters in the URL and use URL-encoded sessions e.g. with a german umlaut 'ä' like http://192.168.1.xxx/servlet/%c3%a4;jsessionid=E3C9183C8A50CE11A10A62B4F8ADB1DE the method request.getPathInfo() returns "ä;" If there are more then one 2-byte Unicode characters in the URL the method returns the count of 2-byte Unicode characters more then required e.g. http://192.168.1.xxx/servlet/%c3%a4%c3%b6%c3% bc;jsessionid=E3C9183C8A50CE11A10A62B4F8ADB1DE returns "äöü;js" It seems that the length of the return string is calculated without respect to the count of encoded 2-byte Unicode charachters. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]