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

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