]> granicus.if.org Git - apache/commitdiff
Fix incomplete filename in ErrorLog when trying to access files in non existing...
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 4 Feb 2013 22:46:10 +0000 (22:46 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 4 Feb 2013 22:46:10 +0000 (22:46 +0000)
PR39944

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442412 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index b4b47978703af2f72b42fd8beb70ff62cfcf0c9b..57de161458d8bf3b5a7398f39e8559051fb3a8f6 100644 (file)
@@ -4407,7 +4407,8 @@ static int default_handler(request_rec *r)
     if (r->method_number == M_GET || r->method_number == M_POST) {
         if (r->finfo.filetype == APR_NOFILE) {
             ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO(00128)
-                          "File does not exist: %s", r->filename);
+                          "File does not exist: %s",
+                          apr_pstrcat(r->pool, r->filename, r->path_info, NULL));
             return HTTP_NOT_FOUND;
         }