mirror of
https://github.com/golang/go
synced 2024-11-14 20:10: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:
|
||
---|---|---|
.. | ||
6-stdlib | ||
1-intro.md | ||
2-language.md | ||
3-tools.md | ||
4-runtime.md | ||
5-toolchain.md | ||
7-ports.md |