Closed
Bug 621912
Opened 14 years ago
Closed 14 years ago
Cookie with quoted path is not stored
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 610218
People
(Reporter: jakub, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
According to RFC 2109, it is possible to surround cookie path by quotes. Firefox 4 beta 8 however did not store such cookies. In Firefox 3, this worked.
Reproducible: Always
Steps to Reproduce:
document.cookie = 'test=1; path="/test/cookie.php"';
alert(document.cookie);
Actual Results:
''
Expected Results:
'test=1'
Comment 1•14 years ago
|
||
Hmm, on Mozilla/5.0 (Windows NT 5.1; rv:2.0b9pre) Gecko/20101229 Firefox/4.0b9pre ID:20101229030346 the Cookie Manager tells me
Name: test
Content: 1
Host: www.vrana.cz
Path: /test/cookie.php
Comment 2•14 years ago
|
||
I also see the cookie being set if I go to cookie manager in Mozilla/5.0 (Windows NT 5.1; rv:2.0b9pre) Gecko/20101229 Firefox/4.0b9pre ID:20101229030346
However, the alert(document.cookie); is showing up blank. Jakub -> is that the issue you are seeing?
Reporter | ||
Comment 3•14 years ago
|
||
The cookie in testing script is set by JavaScript. However the same behavior appears when the cookie is sent from the server.
Updated•14 years ago
|
Version: unspecified → Trunk
DUPLICATE of bug 610218 ?
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•