]> granicus.if.org Git - apache/commitdiff
Under certain circumstances, Apache did not supply the
authorJeff Trawick <trawick@apache.org>
Fri, 20 Apr 2001 15:38:24 +0000 (15:38 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 20 Apr 2001 15:38:24 +0000 (15:38 +0000)
right response headers when requiring authentication.
[Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114
(This is a port of the change that went into Apache 1.3.19.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88901 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/mappers/mod_dir.c

diff --git a/CHANGES b/CHANGES
index f187714f6a98618ef2c8454edac70b4cb29b8136..ec7454f555cc34919e46032c283b9be01813a36e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,10 @@
 Changes with Apache 2.0.18-dev
 
+  *) Under certain circumstances, Apache did not supply the
+     right response headers when requiring authentication.
+     [Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114
+     (This is a port of the change that went into Apache 1.3.19.)
+
   *) Allow modules to specify their own logging tags.  This basically
      allows a module to tell mod_log_config that when %x is encountered
      a specific function should be called.  Currently, x can be any single
index 4368f097676cca5932d44a00304191c2675e87ee..b216622018f2bb862f7469cc293b479ddb4be1cb 100644 (file)
@@ -194,7 +194,8 @@ static int handle_dir(request_rec *r)
         /* If the request returned a redirect, propagate it to the client */
 
         if (ap_is_HTTP_REDIRECT(rr->status) ||
-            (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1)) {
+            (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1) ||
+            (rr->status == HTTP_UNAUTHORIZED && num_names == 1)) {
 
             apr_pool_join(r->pool, rr->pool);
             error_notfound = rr->status;