From 4e317b39dd337f95aa7b7f321906e69a2c14b84e Mon Sep 17 00:00:00 2001 From: Michael Henderson Date: Tue, 2 Oct 2018 19:52:25 -0600 Subject: [PATCH] add missing words to SameSite doc/comments --- src/net/http/cookie.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/http/cookie.go b/src/net/http/cookie.go index 382398756b..289c3c37b1 100644 --- a/src/net/http/cookie.go +++ b/src/net/http/cookie.go @@ -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.