Skip to content

http: only accept ';' as a separator for custom headers - #19200

Closed
bagder wants to merge 5 commits into
masterfrom
bagder/http-headers
Closed

http: only accept ';' as a separator for custom headers#19200
bagder wants to merge 5 commits into
masterfrom
bagder/http-headers

Conversation

@bagder

@bagder bagder commented Oct 23, 2025

Copy link
Copy Markdown
Member

When parsing incoming headers, they need to have a plain normal colon.

Previously out of convenience we used the same parser function for both cases which made it too liberal on incoming HTTP traffic.

@bagder bagder added the HTTP label Oct 23, 2025
When parsing incoming headers, they need to have a plain normal colon.

Previously out of convenience we used the same parser function for both
cases (incoming + custom set headers via the API) which made the
function too liberal for incoming HTTP traffic.
@bagder
bagder force-pushed the bagder/http-headers branch from d9d997b to 82eefaf Compare October 23, 2025 09:33
@bagder
bagder marked this pull request as ready for review October 23, 2025 10:54
@bagder bagder closed this in 0d1d35f Oct 23, 2025
@bagder
bagder deleted the bagder/http-headers branch October 23, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant