Skip to content

Fix repeated field verification#350

Merged
bneradt merged 1 commit intoyahoo:masterfrom
bneradt:fix-repeated-field-verification
Mar 13, 2026
Merged

Fix repeated field verification#350
bneradt merged 1 commit intoyahoo:masterfrom
bneradt:fix-repeated-field-verification

Conversation

@bneradt
Copy link
Copy Markdown
Collaborator

@bneradt bneradt commented Mar 12, 2026

Make repeated non-Set-Cookie fields verify the RFC 9110 semantics by
combining repeated field lines with comma SP in receive order before
running the configured rule.

Handle Set-Cookie through its dedicated verification path, matching
individual cookie lines without forcing a specific order, and refresh
the docs and regression tests to describe that split clearly.

Fixes: #309

@bneradt bneradt self-assigned this Mar 12, 2026
@bneradt bneradt force-pushed the fix-repeated-field-verification branch 3 times, most recently from deaf06d to 43191f4 Compare March 13, 2026 01:53
Make repeated non-Set-Cookie fields verify the RFC 9110 semantics by
combining repeated field lines with comma SP in receive order before
running the configured rule.

Handle Set-Cookie through its dedicated verification path, matching
individual cookie lines without forcing a specific order, and refresh
the docs and regression tests to describe that split clearly.

Fixes: yahoo#309
@bneradt bneradt force-pushed the fix-repeated-field-verification branch from 43191f4 to c558ccb Compare March 13, 2026 02:46
@bneradt bneradt merged commit 248dcb2 into yahoo:master Mar 13, 2026
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.

Multi-value fields verification issue

1 participant