iliaa Thu Nov 24 19:02:18 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/main main.c
/php-src NEWS
Log:
Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x).
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.640.2.7&r2=1.640.2.8&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.640.2.7 php-src/main/main.c:1.640.2.8
--- php-src/main/main.c:1.640.2.7 Tue Nov 15 06:13:42 2005
+++ php-src/main/main.c Thu Nov 24 19:02:11 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.640.2.7 2005/11/15 11:13:42 dmitry Exp $ */
+/* $Id: main.c,v 1.640.2.8 2005/11/25 00:02:11 iliaa Exp $ */
/* {{{ includes
*/
@@ -1804,7 +1804,7 @@
}
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;
}
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.222&r2=1.2027.2.223&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.222 php-src/NEWS:1.2027.2.223
--- php-src/NEWS:1.2027.2.222 Thu Nov 24 15:06:11 2005
+++ php-src/NEWS Thu Nov 24 19:02:16 2005
@@ -8,6 +8,7 @@
- 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.
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php