Skip to content

chore(invalid_regex): correct capture-reset wording#69

Merged
MegaManSec merged 1 commit into
masterfrom
chore/invalid_regex-capture-wording
Jun 9, 2026
Merged

chore(invalid_regex): correct capture-reset wording#69
MegaManSec merged 1 commit into
masterfrom
chore/invalid_regex-capture-wording

Conversation

@MegaManSec

Copy link
Copy Markdown
Owner

Verified against nginx 1.27: a non-matching map entry leaves the request's numbered captures untouched (only a match resets them), while a failed if-condition evaluation clears them outright — so a $N inside a '!~' block is plain empty, never 'a stale value from a previous match'. Comment/message text only, no behavior change.

Verified against nginx 1.27: a non-matching map entry leaves the
request's numbered captures untouched (only a match resets them), while
a failed if-condition evaluation clears them outright — so a $N inside
a '!~' block is plain empty, never 'a stale value from a previous
match'. Comment/message text only, no behavior change.
@MegaManSec
MegaManSec merged commit 9c53689 into master Jun 9, 2026
24 checks passed
@MegaManSec
MegaManSec deleted the chore/invalid_regex-capture-wording branch June 9, 2026 23:17
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.

1 participant