From: Ilia Alshanetsky Date: Fri, 25 Nov 2005 00:07:57 +0000 (+0000) Subject: MFB51: Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x) X-Git-Tag: RELEASE_2_0_2~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6407b345b91a40a1e7630fd29bb4b54bffd3e13b;p=php MFB51: Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x) --- diff --git a/main/main.c b/main/main.c index 2a78b4ed6f..f2195624fb 100644 --- a/main/main.c +++ b/main/main.c @@ -1924,7 +1924,7 @@ PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC) } if (ret == -1 && auth && auth[0] != '\0' && strncmp(auth, "Digest ", 7) == 0) { - SG(request_info).auth_digest = estrdup(auth); + SG(request_info).auth_digest = estrdup(auth + 7); ret = 0; }