Open Bug 1335837 Opened 8 years ago Updated 2 years ago

Network monitor can hide more than one Set-Cookie response header

Categories

(DevTools :: Netmonitor, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: ehsan.akhgari, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

STR: Go to https://www.messe.de/ and look at the first set of response headers. curl produces: Server: nginx Date: Wed, 01 Feb 2017 18:04:25 GMT Content-Length: 0 Connection: keep-alive Set-Cookie: JSESSIONID=88262DB8A9B30348E71F828970842248; Path=/; Secure; HttpOnly Location: http://www.messe.de/ Set-Cookie: SRV=b08|WJIjL; path=/ Firefox shows (both in the UI and in Raw Headers view): Server: nginx Date: Wed, 01 Feb 2017 18:05:21 GMT Content-Length: 0 Connection: keep-alive Location: http://www.messe.de/ Set-Cookie: SRV=b15|WJIjZ; path=/
The cookies view seems to show the actual response cookies that were set.
Attached image cookies.png (obsolete) —
What version of Firefox do you use? When testing on the latest Nightly, I am seeing: Set-Cookie: JSESSIONID=5B95B0A8C98AD66FFF6B09B5A17A670B; Path=/; HttpOnlySRV=b07|WJIwg; path=/ See also the screenshot. Honza
Flags: needinfo?(ehsan)
(In reply to Jan Honza Odvarko [:Honza] from comment #2) > Created attachment 8832575 [details] > cookies.png > > What version of Firefox do you use? Latest Nightly. > When testing on the latest Nightly, I am seeing: > > Set-Cookie: JSESSIONID=5B95B0A8C98AD66FFF6B09B5A17A670B; Path=/; > HttpOnlySRV=b07|WJIwg; path=/ > > See also the screenshot. You're looking at the wrong request. See the *first* request (the one for the link in comment 0, not its redirects.) See the screenshots I'll attach in a sec.
Flags: needinfo?(ehsan)
Attached image Headers view
Attachment #8832575 - Attachment is obsolete: true
Attached image Cookies view
I'm not sure how the Headers view picks which Set-Cookie header to show. You'll note that what appears in the screenshot is different to what I had seen in comment 0.
See Also: → 1273503
I think this is most likely a dupe of bug 1273503.
Depends on: 1273503
See Also: 1273503
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: