add missing words to SameSite doc/comments

This commit is contained in:
Michael Henderson 2018-10-02 19:52:25 -06:00 committed by GitHub
parent c3304edf10
commit 4e317b39dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View 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.