Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 84698 invoked by uid 500); 5 Feb 2002 15:35:56 -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 84661 invoked by uid 500); 5 Feb 2002 15:35:55 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 5 Feb 2002 15:35:55 -0000 Message-ID: <20020205153555.78458.qmail@icarus.apache.org> From: jwoolley@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/generators mod_autoindex.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jwoolley 02/02/05 07:35:55 Modified: . CHANGES modules/generators mod_autoindex.c Log: Vetoed by Ken Revision Changes Path 1.565 +0 -5 httpd-2.0/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/httpd-2.0/CHANGES,v retrieving revision 1.564 retrieving revision 1.565 diff -u -d -u -r1.564 -r1.565 --- CHANGES 5 Feb 2002 09:26:02 -0000 1.564 +++ CHANGES 5 Feb 2002 15:35:54 -0000 1.565 @@ -1,10 +1,5 @@ Changes with Apache 2.0.32-dev - *) mod_autoindex now lists files that would result in HTTP_UNAUTHORIZED - in addition to success and redirection, since there's a chance the - client will actually have the proper authorization to retrieve them. - [Stas Bekman, Cliff Woolley] - *) Not being able to bind to the socket is a fatal error. We should print an error to the console, and return a non-zero status code. With these changes, all of the Unix MPMs do that correctly. 1.95 +1 -2 httpd-2.0/modules/generators/mod_autoindex.c Index: mod_autoindex.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v retrieving revision 1.94 retrieving revision 1.95 diff -u -d -u -r1.94 -r1.95 --- mod_autoindex.c 5 Feb 2002 09:26:02 -0000 1.94 +++ mod_autoindex.c 5 Feb 2002 15:35:54 -0000 1.95 @@ -1292,8 +1292,7 @@ if ((rr->finfo.filetype != APR_DIR && rr->finfo.filetype != APR_REG) || !(rr->status == OK || ap_is_HTTP_SUCCESS(rr->status) - || ap_is_HTTP_REDIRECT(rr->status) - || rr->status == HTTP_UNAUTHORIZED)) { + || ap_is_HTTP_REDIRECT(rr->status))) { ap_destroy_sub_req(rr); return (NULL); }