Skip to content

Commit b1e8846

Browse files
mbj36bradfitz
authored andcommitted
net/http: fix typo in the SameSite docs
Fixes #28244 Change-Id: I3ca36fd513f5543af0c8af254d267254c7d5e803 GitHub-Last-Rev: 83b16fa GitHub-Pull-Request: #28302 Reviewed-on: https://go-review.googlesource.com/c/143480 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 41660d0 commit b1e8846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http/cookie.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type Cookie struct {
3838

3939
// SameSite allows a server to define a cookie attribute making it impossible for
4040
// the browser to send this cookie along with cross-site requests. The main
41-
// goal is to mitigate the risk of cross-origin information leakage, and provides
41+
// goal is to mitigate the risk of cross-origin information leakage, and provide
4242
// some protection against cross-site request forgery attacks.
4343
//
4444
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.

0 commit comments

Comments
 (0)