From 78d5fbc8f8a6f55d685529fe17b0ccf07732900a Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 4 Feb 2013 22:46:10 +0000 Subject: [PATCH] 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 --- server/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.40.0