Closed Bug 340438 Opened 19 years ago Closed 19 years ago

users with wide-char names cannot log in

Categories

(Firefox :: Security, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 41489

People

(Reporter: tzhuo, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060605 I am using Chinese Windows XP. I cann not log onto a web site via Mozilla with wide-char user names, e.g. with user name "卓" and password "password". The username and password will be encoded (in base64) as "UzpwYXNzd29yZA==" in the message header. This is wrong. String "UzpwYXNzd29yZA==" will be decoded to "S:password", not "卓:password". I don't have this problem on IE6.0. In IE6.0, the user name and password will be encoded as "1786cGFzc3dvcmQ=" which is correct. Reproducible: Always Steps to Reproduce: 1. Open mozillar 2. try to log onto any website that requires authentication 3. type in "卓" in user name field, and "password" in password field. Actual Results: GET /si;jsessionid=85977C42AC1C274083C2F1CB1E635C65?mks.commandRunner=23 HTTP/1.1 Host: hqzhuo:7001 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060605 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Authorization: Basic UzpwYXNzd29yZA== Expected Results: GET /is.css HTTP/1.0 Accept: */* Referer: http://hqzhuo:7001/si;jsessionid=4D96990B2E7D46F034ED892EFC9ED6B2?mks.commandRunner=29&mks.render=Control Accept-Language: zh-cn If-Modified-Since: Tue, 02 May 2006 18:27:08 GMT If-None-Match: W/"3215-1146594428000" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Host: hqzhuo:7001 Authorization: Basic 1786cGFzc3dvcmQ=
*** This bug has been marked as a duplicate of 41489 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.