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'
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
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?
DUPLICATE of bug 610218 ?
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 610218
You need to log in before you can comment on or make changes to this bug.