From: hno <> Date: Wed, 7 May 2003 01:59:30 +0000 (+0000) Subject: Bug #620: acl ident REQUIRED matches even if the ident server is not X-Git-Tag: SQUID_3_0_PRE1~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72aa8f18058d374ad655f681eedfa47129f599f1;p=thirdparty%2Fsquid.git Bug #620: acl ident REQUIRED matches even if the ident server is not responding --- diff --git a/src/ACLUserData.cc b/src/ACLUserData.cc index 161eab3a2f..567edb8f3b 100644 --- a/src/ACLUserData.cc +++ b/src/ACLUserData.cc @@ -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) {