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

Allow colon in HTTP header value #844

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

avdv
Copy link
Contributor

@avdv avdv commented Jan 16, 2025

IMO, there is no reason to disallow a colon in HTTP header values, since any VCHAR (US ASCII visible character) is permitted by rfc7230.

This is useful in case one needs to send a URL in a header for example.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 16, 2025
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

@avdv
Copy link
Contributor Author

avdv commented Jan 17, 2025

Note, the https://github.com/facebook/buck2/actions/runs/12810432845/job/35717481138?pr=844 CI job failed because it is referring to ubuntu-latest and this was switched to the ubuntu-24.04 runner. See actions/runner-images#10636

Switching back to ubuntu-22.04. no longer needed after #845

@avdv avdv force-pushed the cb/allow-colon-in-http-header-value branch from 07df1dd to ab59040 Compare January 17, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants