-
Notifications
You must be signed in to change notification settings - Fork 1.2k
http/httpguts: reject leading and trailing spaces in field values #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This PR (HEAD: b9a4ca9) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/net/+/665175. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/665175. |
b9a4ca9
to
27695fa
Compare
This PR (HEAD: 27695fa) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/net/+/665175. Important tips:
|
RFC9113 is extremely clear about this: > A field value MUST NOT start or end with an ASCII whitespace character > (ASCII SP or HTAB, 0x20 or 0x09). RFC9114 defers to RFC9110, which in turn provides a grammer that does not permit leading and/or trailing whitespace either.
Message from Damien Neil: Patch Set 2: Hold+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/665175. |
Message from Demi Obenour: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/665175. |
RFC9113 is extremely clear about this:
RFC9114 defers to RFC9110, which in turn provides a grammer that does not permit leading and/or trailing whitespace either.