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:02:16 +00:00
parent 0a865c89c5
commit 363b0ce10b
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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.

View File

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