]> Cypherpunks repositories - gostls13.git/commit
net/http: do not send leading dot in cookie domain attribute
authorVolker Dobler <dr.volker.dobler@gmail.com>
Mon, 26 Aug 2013 12:41:37 +0000 (07:41 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 26 Aug 2013 12:41:37 +0000 (07:41 -0500)
commitf1d61b959fc0f759a619025eebd3c76d8a897553
tree3f564f4bb7775b77792662fd975875a742131691
parent61f3fdcaec30b5798f62024b3cc485d8d6a615b9
net/http: do not send leading dot in cookie domain attribute

RFC 6265 allows a leading dot in a cookie domain attribute
but is clear (see section 4.1.1) that a Set-Cookie header
should be sent without these dots.

R=bradfitz
CC=golang-dev
https://golang.org/cl/13111043
src/pkg/net/http/cookie.go
src/pkg/net/http/cookie_test.go