Closed
Bug 768836
Opened 13 years ago
Closed 5 years ago
Cyrillic cookie values are being converted
Categories
(Core :: Networking: Cookies, defect, P5)
Tracking
()
RESOLVED
INVALID
People
(Reporter: metalgrid, Unassigned)
Details
(Whiteboard: [necko-would-take])
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Build ID: 20120615233552
Steps to reproduce:
Try to set a cookie value in cyrillic via javascript console or a script triggered from a push button
Actual results:
The cyrillic characters were transformed to letters/digits
Expected results:
The cookie should hold the cyrillic value unmodified.
Component: Untriaged → Networking: Cookies
Product: Firefox → Core
QA Contact: untriaged → networking.cookies
Comment 1•13 years ago
|
||
Please provide a testcase / public URL
Reporter | ||
Comment 2•13 years ago
|
||
Go to any site, open the developer console (Ctrl+Shift+K) and try these:
document.cookie // Shows the current cookies
document.cookie="my_cyr_cookie=тест" // Set a cookie with a cyrillic string as the value
document.cookie // Print out the cookies again. You'll see that my_cyr_cookie's value is not "тест" but in fact B5AB.
I was going to use a cookie to store the visitor's name but if it's Cyrillic it doesn't display correctly.
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 3•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Comment 4•5 years ago
|
||
We support Cyrillic values for cookies.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•