Blame SOURCES/httpd-2.4.6-statements-comment.patch

cce4bc
diff --git a/modules/aaa/mod_access_compat.c b/modules/aaa/mod_access_compat.c
cce4bc
index 46d8da0..0a5d5a1 100644
cce4bc
--- a/modules/aaa/mod_access_compat.c
cce4bc
+++ b/modules/aaa/mod_access_compat.c
cce4bc
@@ -152,6 +152,11 @@ static const char *allow_cmd(cmd_parms *cmd, void *dv, const char *from,
cce4bc
     if (strcasecmp(from, "from"))
cce4bc
         return "allow and deny must be followed by 'from'";
cce4bc
 
cce4bc
+    s = ap_strchr(where, '#');
cce4bc
+    if (s) {
cce4bc
+        *s = '\0';
cce4bc
+    }
cce4bc
+
cce4bc
     a = (allowdeny *) apr_array_push(cmd->info ? d->allows : d->denys);
cce4bc
     a->x.from = where;
cce4bc
     a->limited = cmd->limited;