]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: add missing words to SameSite doc/comments
authorMichael Henderson <mdhender@users.noreply.github.com>
Wed, 3 Oct 2018 02:08:58 +0000 (02:08 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 3 Oct 2018 02:09:38 +0000 (02:09 +0000)
Change-Id: Ie7f6592d726eba73a5e6b3203e083bff55ff8e4e
GitHub-Last-Rev: 4e317b39dd337f95aa7b7f321906e69a2c14b84e
GitHub-Pull-Request: golang/go#27977
Reviewed-on: https://go-review.googlesource.com/c/139100
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/cookie.go

index 382398756bda6c948db9d5411abc72ad62ac6185..289c3c37b1989bb460266b5a70a2c8e5d36b20f0 100644 (file)
@@ -36,9 +36,9 @@ type Cookie struct {
        Unparsed []string // Raw text of unparsed attribute-value pairs
 }
 
-// SameSite allows a server define a cookie attribute making it impossible for
+// SameSite allows a server to 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
+// goal is to 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.