Skip to content

net/http: SameSite description is grammatically incorrect #28244

Closed

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.

Activity

  1. changed the title [-]net/http/SameSite: Description is grammatically incorrect[/-] [+]net/http: SameSite description is grammatically incorrect[/+] on Oct 17, 2018
  2. added this to the Unplanned milestone on Oct 17, 2018
  3. bradfitz commented on Oct 17, 2018

    @bradfitz
    Contributor

    Want to send a change?

  4. taylorza commented on Oct 17, 2018

    @taylorza
    Author

    @bradfitz, I will send the change in.

  5. mbj36 commented on Oct 18, 2018

    @mbj36
    Contributor

    @bradfitz I am new contributor to golang and i am slightly confused about the master branch....I have built my docs using godoc -http:=6060 and my master branch doesn't reflect what is present here - https://golang.org/pkg/net/http

    Am i missing something, can you please point me to the right direction ?

  6. bradfitz commented on Oct 18, 2018

    @bradfitz
    Contributor

    @mbj36, I don't know what you've done or what your environment is so it's hard to help. I suspect the godoc you're running is using the wrong GOROOT. You can explicitly set the GOROOT environment variable to point to your master checkout path.

    Also perhaps of help: https://golang.org/doc/contribute.html and the #gocontributing channel on the Gophers Slack.

  7. mbj36 commented on Oct 19, 2018

    @mbj36
    Contributor

    @bradfitz Thanks for the reply.

    This issue has been already fix here - https://tip.golang.org/pkg/net/http/#SameSite

  8. agnivade commented on Oct 19, 2018

    @agnivade
    Contributor

    If you want, you can still fix it by removing the s from provides.

    The main goal is to mitigate the risk of cross-origin information leakage, and provides some protection against cross-site request forgery attacks.

  9. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  10. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  11. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  12. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  13. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  14. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  15. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  16. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  17. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  18. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  19. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  20. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  21. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  22. gopherbot commented on Oct 22, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/143480 mentions this issue: doc: fix typo in cookie.go

  23. mbj36 commented on Oct 22, 2018

    @mbj36
    Contributor

    @agnivade Fixed

  24. added a commit that references this issue on Nov 21, 2018
    b1e8846
  25. locked and limited conversation to collaborators on Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions