]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix cookie SameSite docs grammar
authorAlan Braithwaite <alan@ipaddr.org>
Tue, 21 Aug 2018 01:07:47 +0000 (01:07 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 21 Aug 2018 02:08:43 +0000 (02:08 +0000)
Change-Id: I76d878343c1cc14b53c700b0476ca050c1f9e6be
GitHub-Last-Rev: 148a45f4b63f7f55312112bbbd982f9927ac9e6e
GitHub-Pull-Request: golang/go#27107
Reviewed-on: https://go-review.googlesource.com/130235
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/cookie.go

index b1a6cef6f700f11002b18c31172647f63a601bb7..382398756bda6c948db9d5411abc72ad62ac6185 100644 (file)
@@ -36,10 +36,10 @@ type Cookie struct {
        Unparsed []string // Raw text of unparsed attribute-value pairs
 }
 
-// SameSite allows a server define a cookie attribute making it impossible to
-// the browser send this cookie along with cross-site requests. The main goal
-// is mitigate the risk of cross-origin information leakage, and provides some
-// protection against cross-site request forgery attacks.
+// SameSite allows a server define a cookie attribute making it impossible for
+// the browser to send this cookie along with cross-site requests. The main
+// goal is mitigate the risk of cross-origin information leakage, and provides
+// some protection against cross-site request forgery attacks.
 //
 // See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.
 type SameSite int