Skip to content
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

rfc6265bis: definition of OWS differs from HTTP core specs #1119

Closed
reschke opened this issue Mar 6, 2020 · 0 comments · Fixed by #1145
Closed

rfc6265bis: definition of OWS differs from HTTP core specs #1119

reschke opened this issue Mar 6, 2020 · 0 comments · Fixed by #1145
Assignees
Labels

Comments

@reschke
Copy link
Contributor

reschke commented Mar 6, 2020

Optimally, they'd be the same.

Otherwise, renaming might be a good idea in order to avoid confusion.

@reschke reschke added the 6265bis label Mar 6, 2020
mikewest added a commit that referenced this issue Mar 31, 2020
This patch incorporates two ABNF changes:

1.  Closes #1074 by
    adjusting the `cookie-pair` grammar to include optional spaces.
    We test this behavior in a few distinct WPTs, including
    chromium0014, name0018, value0006.

2.  Closes #1119
    by removing OWS from the spec, as user agents generally follow
    the "SHOULD" in the current text to limit themselves to a single
    SP rather than serializing with OWS. It's reasonable to lock that
    in, and it also happens to match all the `Cookie:` header tests
    we have.

Thanks to both @reschke and @bakulf for paying attention to this.
@mikewest mikewest self-assigned this Mar 31, 2020
mikewest added a commit that referenced this issue Apr 7, 2020
This patch incorporates two ABNF changes:

1.  Closes #1074 by
    adjusting the `cookie-pair` grammar to include optional spaces.
    We test this behavior in a few distinct WPTs, including
    chromium0014, name0018, value0006.

2.  Closes #1119
    by removing OWS from the spec, as user agents generally follow
    the "SHOULD" in the current text to limit themselves to a single
    SP rather than serializing with OWS. It's reasonable to lock that
    in, and it also happens to match all the `Cookie:` header tests
    we have.

Thanks to both @reschke and @bakulf for paying attention to this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants