Skip to content

net/http: SameSite description is grammatically incorrect #28244

Closed
@taylorza

Description

@taylorza

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go 1.11.x

Does this issue reproduce with the latest release?

The issue is with the documentation for net/http/SameSite documentation which was added in go 1.11

What did you expect to see?

I believe the following captures the intended description, without restructuring it too significantly

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 provide some protection against cross-site request forgery attacks.

What did you see instead?

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions