coar 98/10/03 08:31:59
Modified: src/modules/standard mod_digest.c
Log:
Fix another potentially troublesome LWSP==SP assumption.
Revision Changes Path
1.40 +2 -2 apache-1.3/src/modules/standard/mod_digest.c
Index: mod_digest.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_digest.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- mod_digest.c 1998/08/09 21:03:25 1.39
+++ mod_digest.c 1998/10/03 15:31:59 1.40
@@ -159,7 +159,7 @@
return AUTH_REQUIRED;
}
- if (strcasecmp(scheme=ap_getword(r->pool, &auth_line, ' '), "Digest")) {
+ if (strcasecmp(scheme = ap_getword_white(r->pool, &auth_line),
"Digest")) {
/* Client tried to authenticate using wrong auth scheme */
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r->server,
"client used wrong authentication scheme: %s for %s",
@@ -345,7 +345,7 @@
method_restricted = 1;
t = reqs[x].requirement;
- w = ap_getword(r->pool, &t, ' ');
+ w = ap_getword_white(r->pool, &t);
if (!strcmp(w, "valid-user"))
return OK;
else if (!strcmp(w, "user")) {