From: Christophe Jaillet Date: Mon, 4 Feb 2013 22:46:10 +0000 (+0000) Subject: Fix incomplete filename in ErrorLog when trying to access files in non existing... X-Git-Tag: 2.5.0-alpha~5785 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78d5fbc8f8a6f55d685529fe17b0ccf07732900a;p=apache Fix incomplete filename in ErrorLog when trying to access files in non existing directories PR39944 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442412 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index b4b4797870..57de161458 100644 --- a/server/core.c +++ b/server/core.c @@ -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; }