You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2013/02/04 23:46:10 UTC
svn commit: r1442412 - /httpd/httpd/trunk/server/core.c
Author: jailletc36
Date: Mon Feb 4 22:46:10 2013
New Revision: 1442412
URL: http://svn.apache.org/viewvc?rev=1442412&view=rev
Log:
Fix incomplete filename in ErrorLog when trying to access files in non existing directories
PR39944
Modified:
httpd/httpd/trunk/server/core.c
Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1442412&r1=1442411&r2=1442412&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Mon Feb 4 22:46:10 2013
@@ -4407,7 +4407,8 @@ static int default_handler(request_rec *
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;
}