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

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