From e2b7e4bd89d56442caad1483ce312a4fa0fe314c Mon Sep 17 00:00:00 2001 From: Cliff Woolley Date: Tue, 5 Feb 2002 15:35:54 +0000 Subject: [PATCH] Vetoed by Ken git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93256 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 5 ----- modules/generators/mod_autoindex.c | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CHANGES b/CHANGES index 0611fae503..ea16d93377 100644 --- a/CHANGES +++ b/CHANGES @@ -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. diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 21f443dddc..aad5199b2b 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1292,8 +1292,7 @@ static struct ent *make_autoindex_entry(const apr_finfo_t *dirent, 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); } -- 2.40.0