Skip to content

Fix MATCH_SET parsing of quoted items and add tests#13024

Open
cmcfarlen wants to merge 3 commits intoapache:masterfrom
cmcfarlen:hrw-fix-set-parse-quote
Open

Fix MATCH_SET parsing of quoted items and add tests#13024
cmcfarlen wants to merge 3 commits intoapache:masterfrom
cmcfarlen:hrw-fix-set-parse-quote

Conversation

@cmcfarlen
Copy link
Contributor

The set parser was incorrectly advancing 'start' by skip_quotes after a comma, causing the second and subsequent quoted items to be parsed with their leading characters truncated.

Add a unit test for quoted set parsing and enable the test_matcher build target (fix linker issue by removing resources.cc and adding stubs). Add autest coverage for quoted sets in header_rewrite bundle.

The set parser was incorrectly advancing 'start' by skip_quotes
after a comma, causing the second and subsequent quoted items to
be parsed with their leading characters truncated.

Add a unit test for quoted set parsing and enable the test_matcher
build target (fix linker issue by removing resources.cc and adding
stubs). Add autest coverage for quoted sets in header_rewrite
bundle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cmcfarlen cmcfarlen added this to the 11.0.0 milestone Mar 26, 2026
@cmcfarlen cmcfarlen self-assigned this Mar 26, 2026
@cmcfarlen cmcfarlen added the header_rewrite header_rewrite plugin label Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

header_rewrite header_rewrite plugin

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant