Zane Bitter 006ffc075c Detect group matches in replacements more robustly
The Python re module uses '\n' for group backreference substitution,
whereas mod_alias uses '$n', and thus we must translate between them
when processing RedirectMatch directives. Previously this was done by
substituting backslashes for any dollar signs in the replacement string.
However, group substitution only occurs when the $ is not escaped with a
backslash and is followed by a decimal digit. Follow the same rules
here.

Change-Id: Ib33534b40e0b126c769ec17f76e1ecc83d790ebc
2017-11-08 16:58:22 -05:00
2017-09-20 14:30:03 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 15:39:43 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 11:57:46 -04:00
2017-08-23 11:16:01 -04:00
2017-08-23 15:27:40 -04:00
2017-09-20 14:30:03 -04:00

whereto

Test Apache redirect rules.

whereto is an app for testing redirect rules like what may appear in a .htaccess file for Apache. It provides a way to test those rules in CI jobs.

Description
Test Apache redirect rules.
Readme 608 KiB
Languages
Python 100%