libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 899f56750dcaa1a28f452916c60c04114d59ef3e
parent 03e6baf671e2f50696bc1f2e0a28299064081c5a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  3 Sep 2010 20:55:54 +0000

fix

Diffstat:
Msrc/daemon/digestauth.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/daemon/digestauth.c b/src/daemon/digestauth.c @@ -234,9 +234,10 @@ lookup_sub_value(char *dest, return 0; /* end quote not found */ qn = q2 + 1; } - if (0 == strncasecmp (ptr, - key, - keylen)) + if ( (0 == strncasecmp (ptr, + key, + keylen)) && + (eq == &ptr[keylen]) ) { if (q2 == NULL) {