Skip to content

regexp search+replace for rules config#352

Closed
j0hnWoods wants to merge 1 commit intodrk1wi:masterfrom
j0hnWoods:master
Closed

regexp search+replace for rules config#352
j0hnWoods wants to merge 1 commit intodrk1wi:masterfrom
j0hnWoods:master

Conversation

@j0hnWoods
Copy link
Copy Markdown

Comma separated list of regexp patterns and their replacements - e.g.: base64(pattern_regex):base64(replacement),base64(pattern_regex_n):base64(replacement_n)

Comma separated list of regexp patterns and their replacements - e.g.: base64(pattern_regex):base64(replacement),base64(pattern_regex_n):base64(replacement_n)
@drk1wi
Copy link
Copy Markdown
Owner

drk1wi commented Jan 6, 2026

Thanks for adding regex support. Issues:

  1. Comments out ReplaceStrings in PatchHeaders (lines 292-299) - breaks Location header rewriting
  2. Breaking change: literal strings like example.com become regex (. matches any char)
  3. Remove commented-out code

Was disabling header patching intentional?

@drk1wi drk1wi closed this Feb 12, 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.

2 participants