Closed Bug 1264993 Opened 4 years ago Closed 4 years ago

Unable to list/edit certain cookies

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)

30 Branch
defect
Not set

Tracking

(firefox48 verified)

VERIFIED FIXED
Firefox 48
Tracking Status
firefox48 --- verified

People

(Reporter: fdlanusse, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Steps to reproduce:

Acceptance test 1
# Browse to http://www.html-kit.com/tools/cookietester/
# Add some cookies
# Enable Developer Toolbar (shift + F2)
# Run command: cookie list
> No cookies found for host www.html-kit.com
Acceptance test 2
# Refresh the Page
# Run command: cookie list
> No cookies found for host www.html-kit.com



Actual results:

In both cases the cookies where no listed


Expected results:

All the domain cookies should be listed. Cookie are actually sent by the browser, I set a http proxy and the header is there on the GET request. The proxy is not caching the header nor similar behavior, I'm suing burp scan V1.6.39
I was unable to logout of one application I was working, I suppected that something was wrong with the app but in the end was firefox not properly updating the cookie jar.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
(This doesn't look security-sensitive, so I'm removing the flag.)
Group: firefox-core-security
Component: Untriaged → Developer Tools: Graphic Commandline and Toolbar
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=44ae8462d6ab&tochange=46041cc216fd

Suspect: Bug 965872.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Unable to list/edit cookies → Unable to list/edit certain cookies
Version: 45 Branch → 30 Branch
Simple patch to correct errors in cookie host matching:
  1. Match domains starting with a . in case this style was used e.g. .test.example.com
  2. Match localhost URLS.

Review commit: https://reviewboard.mozilla.org/r/47137/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/47137/
Attachment #8742334 - Flags: review?(jwalker)
Comment on attachment 8742334 [details]
MozReview Request: Bug 1264993 - Unable to list/edit certain cookies in GCLI r?jwalker

https://reviewboard.mozilla.org/r/47137/#review44101
Attachment #8742334 - Flags: review?(jwalker) → review+
https://hg.mozilla.org/mozilla-central/rev/a4dc7ffd8a5f
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
I've reproduced the initial issue on Nightly 48.0a1 (buildID: 20160415030231).

Verified fixed on Windows 7 64bit, Ubuntu 14.04 64bit and Mac OSX 10.11.1 using Firefox 48 Beta 1 (buildID: 20160606200529).
Status: RESOLVED → VERIFIED
Duplicate of this bug: 1126144
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.