MFB51: Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x)

This commit is contained in:
Ilia Alshanetsky 2005-11-25 00:07:57 +00:00
parent edca4a83ba
commit 6407b345b9

View File

@ -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;
}