sniper Sun Dec 7 11:53:31 2003 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/ext/session session.c Log: MFH: Fix for bug #26548: Malformed HTTP dates in headers Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.492 php-src/NEWS:1.1247.2.493 --- php-src/NEWS:1.1247.2.492 Thu Dec 4 03:56:06 2003 +++ php-src/NEWS Sun Dec 7 11:53:29 2003 @@ -5,8 +5,7 @@ (Jani) - Fixed header handler in NSAPI SAPI module (header->replace was ignored, send_default_content_type now sends value from php.ini). (Uwe Schindler) -- Fixed bug #25916 (get_browser() -> PHP Fatal error: Nesting level - too deep - recursive dependency?). (Uwe Schindler) +- Fixed bug #26548 (ext/session: Malformed HTTP dates headers). (Derick) - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c). (Jani) - Fixed bug #26467 (flock() does not force the "wouldblock" parameter to be passed by reference). (Wez) @@ -56,6 +55,8 @@ under *BSD platforms). (Moriyoshi) - Fixed bug #26003 (Make fgetcsv() binary safe). (Ilia, Moriyoshi) - Fixed bug #25939 (feof() not working correctly for sockets). (Wez) +- Fixed bug #25916 (get_browser() -> PHP Fatal error: Nesting level + too deep - recursive dependency?). (Uwe Schindler) - Fixed bug #25794 (Cannot open existing hash db3 file with write" ext/dba). (Marcus) - Fixed Bug #25694 (round() and number_format() give inconsistent results). Index: php-src/ext/session/session.c diff -u php-src/ext/session/session.c:1.336.2.29 php-src/ext/session/session.c:1.336.2.30 --- php-src/ext/session/session.c:1.336.2.29 Wed Oct 8 06:25:39 2003 +++ php-src/ext/session/session.c Sun Dec 7 11:53:30 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: session.c,v 1.336.2.29 2003/10/08 10:25:39 sniper Exp $ */ +/* $Id: session.c,v 1.336.2.30 2003/12/07 16:53:30 sniper Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -718,6 +718,7 @@ php_gmtime_r(when, &tm); n = sprintf(buf, "%s, %d %s %d %02d:%02d:%02d GMT", /* SAFE */ + n = sprintf(buf, "%s, %02d %s %d %02d:%02d:%02d GMT", /* SAFE */ week_days[tm.tm_wday], tm.tm_mday, month_names[tm.tm_mon], tm.tm_year + 1900, tm.tm_hour, tm.tm_min,
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php