Skip to content

fix: correct forRegex character class in ProxyHeaders#265

Open
SAY-5 wants to merge 1 commit into
gorilla:mainfrom
SAY-5:fix-forregex-charclass
Open

fix: correct forRegex character class in ProxyHeaders#265
SAY-5 wants to merge 1 commit into
gorilla:mainfrom
SAY-5:fix-forregex-charclass

Conversation

@SAY-5
Copy link
Copy Markdown

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

The forRegex character class [^(;|,| )]+ treats | as a literal and also excludes ( and ), so a for= token containing parentheses or pipes gets truncated; it should only stop at ;, ,, or space. Closes #233.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect regex in forRegex

1 participant