Skip to content

v3.1.2: Fix guidance on headers and RFC6570 percent-encoding #4819

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

Open
wants to merge 3 commits into
base: v3.1-dev
Choose a base branch
from

Conversation

handrews
Copy link
Member

@handrews handrews commented Aug 2, 2025

Note: Since this is just correcting incorrect guidance rather than changing the actual behavior, it is suitable for a patch release. I will port it to 3.2, where it will be paired with a fix to allowReserved that is not needed in 3.1.2, once merged.

Fixes part of #4798.

After much debate and research, we agreed that percent-encoding was never meant to be applied to headers.

Exactly how to handle RFC6570 with cookie parameters remains TBD. For now, this preserves (but streamlines) the existing guidance for cookies.

  • schema changes are included in this pull request
  • schema changes are needed for this pull request but not done yet
  • no schema changes are needed for this pull request

After much debate and research, we agreed that percent-encoding
was never meant to be applied to headers.

Exactly how to handle RFC6570 and cookie parameters remains TBD.
For now, this preserves (but streamlines) the existing guidance
for cookies.
@handrews handrews added this to the v3.1.2 milestone Aug 2, 2025
@handrews handrews requested review from a team as code owners August 2, 2025 19:25
@handrews handrews added clarification requests to clarify, but not change, part of the spec headers labels Aug 2, 2025
@handrews
Copy link
Member Author

handrews commented Aug 2, 2025

@ralfhandl the "no spaces inside code span element" is causing a linting failure even though the space is there intentionally. Is it possible to disable the rule for this particular use? Or would it need to be disabled for the whole document?

@handrews
Copy link
Member Author

handrews commented Aug 2, 2025

@ralfhandl I can't even get it to turn off locally. I reworded the sentence- I dislike this option but I care more about getting this merged than blocking on linter pickiness.

earth2marsh
earth2marsh previously approved these changes Aug 3, 2025
@earth2marsh
Copy link
Member

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification requests to clarify, but not change, part of the spec headers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants