]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #824: Lookup loop if external_acl combined with authentication in the
authorhno <>
Thu, 20 Nov 2003 00:18:35 +0000 (00:18 +0000)
committerhno <>
Thu, 20 Nov 2003 00:18:35 +0000 (00:18 +0000)
same http_access line

src/external_acl.cc

index 2bd3b70f14e8c63209cafcd22a6481a2d92c3f09..4b95a30d7c3a7a7a45bb224ca945777b29dc5037 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: external_acl.cc,v 1.54 2003/10/20 12:33:01 robertc Exp $
+ * $Id: external_acl.cc,v 1.55 2003/11/19 17:18:35 hno Exp $
  *
  * DEBUG: section 82    External ACL
  * AUTHOR: Henrik Nordstrom, MARA Systems AB
@@ -586,7 +586,8 @@ aclMatchExternal(external_acl_data *acl, ACLChecklist * ch)
 
         key = makeExternalAclKey(ch, acl);
 
-        ch->auth_user_request = NULL;
+        if (acl->def->require_auth)
+            ch->auth_user_request = NULL;
 
         if (!key) {
             /* Not sufficient data to process */