Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 60966 invoked by uid 500); 25 Oct 2002 16:27:40 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 60951 invoked by uid 500); 25 Oct 2002 16:27:40 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 25 Oct 2002 16:27:38 -0000 Message-ID: <20021025162738.72616.qmail@icarus.apache.org> From: coar@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/server request.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N coar 2002/10/25 09:27:38 Modified: . CHANGES server request.c Log: more info is better than less.. Revision Changes Path 1.963 +4 -0 httpd-2.0/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/httpd-2.0/CHANGES,v retrieving revision 1.962 retrieving revision 1.963 diff -u -u -r1.962 -r1.963 --- CHANGES 25 Oct 2002 15:18:53 -0000 1.962 +++ CHANGES 25 Oct 2002 16:27:37 -0000 1.963 @@ -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] 1.116 +6 -0 httpd-2.0/server/request.c Index: request.c =================================================================== RCS file: /home/cvs/httpd-2.0/server/request.c,v retrieving revision 1.115 retrieving revision 1.116 diff -u -u -r1.115 -r1.116 --- request.c 5 Sep 2002 06:59:14 -0000 1.115 +++ request.c 25 Oct 2002 16:27:38 -0000 1.116 @@ -149,6 +149,12 @@ 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; } }