
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
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.
- Free software: Apache license
- Documentation: http://whereto.readthedocs.io/en/latest/
- Source: http://git.openstack.org/cgit/openstack/whereto
- Bugs: http://bugs.launchpad.net/whereto
Description
Languages
Python
100%