]> granicus.if.org Git - apache/commitdiff
Fix "Satisfy Any" logic. The access_checker has nothing to do with
authorAndre Malo <nd@apache.org>
Tue, 28 Jan 2003 15:57:38 +0000 (15:57 +0000)
committerAndre Malo <nd@apache.org>
Tue, 28 Jan 2003 15:57:38 +0000 (15:57 +0000)
auth_type.

Related PR: 9076

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

CHANGES
server/request.c

diff --git a/CHANGES b/CHANGES
index 4dd288679707df554c9adac9da1b5b1bbb953f6b..e61895fe609612272401cac813c907ead3c9fe41 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev
 
   [Remove entries to the current 2.0 section below, when backported]
 
+  *) Fix bug where 'Satisfy Any' without an AuthType lost all MIME
+     information (and more). Related to PR 9076.  [AndrĂ© Malo]
+
   *) mod_negotiation: Introduce "prefer-language" environment variable,
      which allows to influence the negotiation process on request basis
      to prefer a certain language.  [AndrĂ© Malo]
index b255e8b828f4dd475945bd6ad0369ad4f46d99a1..66ead012cd8dcf89acd0764581bb65a1ea84d5ff 100644 (file)
@@ -251,13 +251,9 @@ AP_DECLARE(int) ap_process_request_internal(request_rec *r)
             break;
 
         case SATISFY_ANY:
-            if (((access_status = ap_run_access_checker(r)) != 0)
-                || !ap_auth_type(r)) {
+            if (((access_status = ap_run_access_checker(r)) != 0)) {
                 if (!ap_some_auth_required(r)) {
-                    return decl_die(access_status, ap_auth_type(r)
-                                  ? "check access"
-                                  : "perform authentication. AuthType not set!",
-                                  r);
+                    return decl_die(access_status, "check access", r);
                 }
 
                 if (((access_status = ap_run_check_user_id(r)) != 0)