/*
- * $Id: config.h,v 1.15 2004/12/21 17:28:27 robertc Exp $
+ * $Id: config.h,v 1.16 2004/12/24 01:03:39 hno Exp $
*
* AUTHOR: Duane Wessels
*
#define xispunct(x) ispunct((unsigned char)x)
#define xisupper(x) isupper((unsigned char)x)
#define xisxdigit(x) isxdigit((unsigned char)x)
+#define xisgraph(x) isgraph((unsigned char)x)
#if HAVE_RANDOM
#define squid_random random
/*
- * $Id: auth_basic.cc,v 1.34 2004/12/20 16:30:38 robertc Exp $
+ * $Id: auth_basic.cc,v 1.35 2004/12/24 01:03:39 hno Exp $
*
* DEBUG: section 29 Authenticator
* AUTHOR: Duane Wessels
/* decode the username */
/* trim BASIC from string */
- while (!xisspace(*proxy_auth))
+ while (xisgraph(*proxy_auth))
proxy_auth++;
BasicUser *basic_auth, local_basic(&basicConfig);
/*
- * $Id: auth_digest.cc,v 1.40 2004/12/20 19:13:54 robertc Exp $
+ * $Id: auth_digest.cc,v 1.41 2004/12/24 01:03:39 hno Exp $
*
* DEBUG: section 29 Authenticator
* AUTHOR: Robert Collins
/* trim DIGEST from string */
- while (!xisspace(*proxy_auth))
+ while (xisgraph(*proxy_auth))
proxy_auth++;
/* Trim leading whitespace before decoding */
/*
- * $Id: auth_ntlm.cc,v 1.45 2004/12/20 17:35:58 robertc Exp $
+ * $Id: auth_ntlm.cc,v 1.46 2004/12/24 01:03:39 hno Exp $
*
* DEBUG: section 29 NTLM Authenticator
* AUTHOR: Robert Collins
fatal("Invalid authenticate state for NTLMStart");
}
- while (!xisspace(*sent_string)) /*trim NTLM */
+ while (xisgraph(*sent_string)) /*trim NTLM */
sent_string++;
while (xisspace(*sent_string)) /*trim leading spaces */