From: wessels <> Date: Thu, 8 Apr 1999 01:52:14 +0000 (+0000) Subject: change debugging/logging for bad basic auth decoding X-Git-Tag: SQUID_3_0_PRE1~2301 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb6b72a43c7a29e0291c81d284b8fc5d4702ae3e;p=thirdparty%2Fsquid.git change debugging/logging for bad basic auth decoding --- diff --git a/src/acl.cc b/src/acl.cc index 96f478ff71..a976c9d9ac 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.197 1999/01/29 21:28:06 wessels Exp $ + * $Id: acl.cc,v 1.198 1999/04/07 19:52:14 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -987,6 +987,7 @@ aclDecodeProxyAuth(const char *proxy_auth, char **user, char **password, char *b char *sent_auth; char *cleartext; + debug(28, 6) ("aclDecodeProxyAuth: header = '%s'\n", proxy_auth); if (proxy_auth == NULL) return 0; if (strlen(proxy_auth) < SKIP_BASIC_SZ) @@ -1007,7 +1008,7 @@ aclDecodeProxyAuth(const char *proxy_auth, char **user, char **password, char *b if ((*password = strchr(*user, ':')) != NULL) *(*password)++ = '\0'; if (*password == NULL) { - debug(28, 1) ("aclDecodeProxyAuth: no password in proxy authorization header\n"); + debug(28, 1) ("aclDecodeProxyAuth: no password in proxy authorization header '%s'\n", proxy_auth); return 0; } return 1;