Closed
Bug 1222811
Opened 10 years ago
Closed 5 years ago
Cannot set cookie for Cyrillic domain.
Categories
(Core :: Networking: Cookies, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: pskucherov, Unassigned)
Details
(Whiteboard: [necko-backlog])
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 YaBrowser/15.10.2454.3654 Safari/537.36
Steps to reproduce:
I try set cookies to Cyrillic domain with "network.IDN_show_punycode;false"
var val = 'qwe',
rawCookie = 'name=' + val + '',
domain = location.hostname,
exp = new Date().getTime() + 1000000;
rawCookie += '; expires=' + new Date(exp).toGMTString();
rawCookie += '; path=/';
rawCookie += (domain ? '; domain=.' + domain : '');
document.cookie = rawCookie;
and location.hostname === 'кто.рф'
Actual results:
Cookies is not set for Cyrillic domain.
Expected results:
Cookies is set for Cyrillic domain.
Component: Untriaged → Networking: Cookies
Product: Firefox → Core
Summary: Do not set cookie in Cyrillic domain. → Cannot set cookie for Cyrillic domain.
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 1•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 2•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 3•5 years ago
|
||
I did some tests, and I confirm that the cookie is correctly set, with domain =" .xn--j1ail.xn--p1ai".
I close this bug as invalid, but if I'm wrong, reopen it.
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
•