]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
change debugging/logging for bad basic auth decoding
authorwessels <>
Thu, 8 Apr 1999 01:52:14 +0000 (01:52 +0000)
committerwessels <>
Thu, 8 Apr 1999 01:52:14 +0000 (01:52 +0000)
src/acl.cc

index 96f478ff713256762de2c39de800cffa09c6619d..a976c9d9ac57fd205d9238aa02eb232e96a88248 100644 (file)
@@ -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;