]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
more info is better than less..
authorKen Coar <coar@apache.org>
Fri, 25 Oct 2002 16:27:38 +0000 (16:27 +0000)
committerKen Coar <coar@apache.org>
Fri, 25 Oct 2002 16:27:38 +0000 (16:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97302 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/request.c

diff --git a/CHANGES b/CHANGES
index 23d02882857e7551874a3e77699c9fac86bb5363..12f63ee3df7489f73cbc43052f6608b1b780119b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
 Changes with Apache 2.0.44
 
+  *) Emit a message to the error log when we return 404 because
+     the URI contained '%2f'.  (This was previously nastily silent
+     and difficult to debug.)  [Ken Coar]
+
   *) Fix streaming output from an nph- CGI script.  CGI:IRC now
      works.  PR 8482  [Jeff Trawick]
 
index af28372fbcbdc1037695fae496b2cf50a8a725fb..d0f8376d57f572e8739a1cd1ee211d08909b48d2 100644 (file)
@@ -149,6 +149,12 @@ AP_DECLARE(int) ap_process_request_internal(request_rec *r)
     if (!r->proxyreq && r->parsed_uri.path) {
         access_status = ap_unescape_url(r->parsed_uri.path);
         if (access_status) {
+            if (access_status == HTTP_NOT_FOUND) {
+                ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
+                              "found %2f (encoded '/') in URI "
+                              "(decoded='%s'), returning 404"
+                              r->parsed_uri.path);
+            }
             return access_status;
         }
     }