Skip to content

fix: header matcher accepts single value containing commas#177

Open
SAY-5 wants to merge 1 commit into
LukeMathWalker:mainfrom
SAY-5:fix-header-matcher-comma-value
Open

fix: header matcher accepts single value containing commas#177
SAY-5 wants to merge 1 commit into
LukeMathWalker:mainfrom
SAY-5:fix-header-matcher-comma-value

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 13, 2026

The header matcher always split received header values on ,, so a single value like an RFC 2822 date (Sun, 01 Jan 2023 00:00:00 GMT) failed to match itself. Try the raw values first and fall back to the comma-split path so multi-value headers still match. Closes #143. Closes #144.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comma in header value Single value header gets parsed as Vec

1 participant