]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
backport logno from r1918604
authorEric Covener <covener@apache.org>
Tue, 25 Jun 2024 17:31:28 +0000 (17:31 +0000)
committerEric Covener <covener@apache.org>
Tue, 25 Jun 2024 17:31:28 +0000 (17:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1918608 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index d80e40c86d0cf09a07ada7aef31f666eaacf4dc1..46ea16c8c64c70ad22796d80bbf51648b5245f8d 100644 (file)
@@ -4321,7 +4321,7 @@ static rule_return_type apply_rewrite_rule(rewriterule_entry *p,
         if (!(p->flags & RULEFLAG_UNSAFE_ALLOW3F) &&
             ap_strcasestr(r->unparsed_uri, "%3f") &&
             ap_strchr_c(newuri, '?')) {
-            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO()
+            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10508)
                     "Unsafe URL with %%3f URL rewritten without "
                     "UnsafeAllow3F");
             r->status = HTTP_FORBIDDEN;