From 148a45f4b63f7f55312112bbbd982f9927ac9e6e Mon Sep 17 00:00:00 2001 From: Alan Braithwaite Date: Mon, 20 Aug 2018 17:58:58 -0700 Subject: [PATCH] net/http: fix cookie SameSite docs grammar --- src/net/http/cookie.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/net/http/cookie.go b/src/net/http/cookie.go index b1a6cef6f7..382398756b 100644 --- a/src/net/http/cookie.go +++ b/src/net/http/cookie.go @@ -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