From bb6b72a43c7a29e0291c81d284b8fc5d4702ae3e Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 8 Apr 1999 01:52:14 +0000 Subject: [PATCH] change debugging/logging for bad basic auth decoding --- src/acl.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.47.3