Commit 747a8b7c authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Fix a bug with AliasMatch. When forward fitting a bug from 1.3 to 2.0, we

forgot a single line which broke this option.
PR:	6881


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88010 13f79535-47bb-0310-9956-ffa450edef68
parent 6a0336ea
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
Changes with Apache 2.0b1

  *) Fix the AliasMatch directive in Apache 2.0.  When we brought a patch
     forward from 1.3 to 2.0, we missed a single line, which broke regex
     aliases.  [Ryan Bloom]

  *) We have a poor abstraction in the protocol.  This is a temporary
     hack to fix the bug, but it will need to be fixed for real.  If
     we find an error while sending out a custom error response, we back
+1 −0
Original line number Diff line number Diff line
@@ -145,6 +145,7 @@ static const char *add_alias_internal(cmd_parms *cmd, void *dummy,
	new->regexp = ap_pregcomp(cmd->pool, f, REG_EXTENDED);
	if (new->regexp == NULL)
	    return "Regular expression could not be compiled.";
        new->real = r;
    }
#ifndef OS2
    else