]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in the SameSite docs
authormbj36 <mohitbajo36@gmail.com>
Fri, 16 Nov 2018 16:38:39 +0000 (16:38 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 16 Nov 2018 16:39:22 +0000 (16:39 +0000)
Fixes #28244

Change-Id: I3ca36fd513f5543af0c8af254d267254c7d5e803
GitHub-Last-Rev: 83b16fac4e221a249ed036c034367d6f680ae578
GitHub-Pull-Request: golang/go#28302
Reviewed-on: https://go-review.googlesource.com/c/143480
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/cookie.go

index 289c3c37b1989bb460266b5a70a2c8e5d36b20f0..ad7903f074c185d3a0c3e558b034f0ca2c9d3918 100644 (file)
@@ -38,7 +38,7 @@ type Cookie struct {
 
 // 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 to mitigate the risk of cross-origin information leakage, and provides
+// goal is to mitigate the risk of cross-origin information leakage, and provide
 // some protection against cross-site request forgery attacks.
 //
 // See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.