]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #620: acl ident REQUIRED matches even if the ident server is not
authorhno <>
Wed, 7 May 2003 01:59:30 +0000 (01:59 +0000)
committerhno <>
Wed, 7 May 2003 01:59:30 +0000 (01:59 +0000)
responding

src/ACLUserData.cc

index 161eab3a2f5376d3ecba56303a1698424de052df..567edb8f3b9a06905dfa4be6e2dd9f0d9d9725a0 100644 (file)
@@ -101,7 +101,7 @@ ACLUserData::match(char const *user)
     debug(28, 8) ("Top is %p, Top->data is %s\n", Top,
                   (char *) (Top != NULL ? (Top)->data : "Unavailable"));
 
-    if (user == NULL)
+    if (user == NULL || strcmp(user, "-") == 0)
         return 0;
 
     if (flags.required) {