]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix RedirectMatch regex in ACME exemption recipe (bug 70084)
authorRich Bowen <rbowen@apache.org>
Tue, 2 Jun 2026 12:56:53 +0000 (12:56 +0000)
committerRich Bowen <rbowen@apache.org>
Tue, 2 Jun 2026 12:56:53 +0000 (12:56 +0000)
commit023b3170d8a7e0340f1f39fbc80f5cebd70a25c0
treec6b03dd6230c74fe592bc112707b489309e906a2
parent52a18f1db1a6d3cb30f59b50a375466d052c52cf
Fix RedirectMatch regex in ACME exemption recipe (bug 70084)

The negative lookahead (?!...) is zero-width and non-capturing, so
the original pattern matched only the leading slash and \$1 was
undefined. Add a capturing group (.*)$ after the lookahead so that
\$1 contains the remainder of the URL-path.

Same as trunk r1934878.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934879 13f79535-47bb-0310-9956-ffa450edef68
docs/manual/rewrite/remapping.xml