net/http: invalid Cookie.Domain in case of setting cookie on IPv6 #65521
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.20.5 linux/amd64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
in logs:
net/http: invalid Cookie.Domain "[fd7d:844d:3e17:f3ae::1]"; dropping domain attribute
in browser:
cookie is missing
What did you expect to see?
i expect to see cookie which exists in browser like as in case of IPv4
i think trouble is in net/http/cookie.go:
The text was updated successfully, but these errors were encountered: