Fix RedirectMatch handling to properly handle URLs with host portions.
Previously, we would segfault if no path is specified (case 1 below). We would also ignore any host and scheme portion of the URL (which is how we specify it on daedalus), so restore that capability. The query strings will still not be escaped (standards cops can determine if this is correct behavior). The following directives now work as expected: RedirectMatch /jakarta1(.*) http://jakarta.apache.org$1 RedirectMatch /jakarta2(.*) http://jakarta.apache.org/dist$1 RedirectMatch /jakarta3(.*) http://jakarta.apache.org/dist$1?bar=foo RedirectMatch /jakarta4(.*) http://jakarta.apache.org/dist$1?bar=foo#spaz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91672 13f79535-47bb-0310-9956-ffa450edef68
parent
0dcae744
Please register or sign in to comment