mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
MFB51: Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x)
This commit is contained in:
parent
edca4a83ba
commit
6407b345b9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user