mirror of
https://github.com/golang/go
synced 2024-11-15 06:00:30 -07:00
a63907808d
The current implementation of the http package strips double quotes
from the cookie-value during parsing, resulting in the serialized
cookie not including them. This patch addresses this limitation by
introducing a new field to track whether the original value was
enclosed in quotes.
Additionally, the internal representation of a cookie in the cookiejar
package has been adjusted to align with the new representation.
The syntax of cookies is outlined in RFC 6265 Section 4.1.1:
https://datatracker.ietf.org/doc/html/rfc6265\#section-4.1.1
Fixes #46443
Change-Id: Iac12a56397d77a6060a75757ab0daeacc60457f3
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
42888.txt | ||
44940.txt | ||
46443.txt | ||
50102.txt | ||
57151.txt | ||
59473.txt | ||
60427.txt | ||
61308.txt | ||
61472.txt | ||
61696.txt | ||
62254.txt | ||
62484.txt | ||
63116.txt | ||
65238.txt | ||
65772.txt | ||
66008.txt | ||
66054.txt | ||
66836.txt |