mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x).
This commit is contained in:
parent
0a865c89c5
commit
363b0ce10b
1
NEWS
1
NEWS
@ -8,6 +8,7 @@ PHP NEWS
|
||||
- Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash).
|
||||
(Dmitry)
|
||||
- Fixed bug #35358 (Incorrect error messages for PDO class constants). (Ilia)
|
||||
- Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x). (Ilia)
|
||||
|
||||
24 Nov 2005, PHP 5.1
|
||||
- Added support for class constants and static members for internal classes.
|
||||
|
@ -1804,7 +1804,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