helly Thu Mar 25 03:42:01 2004 EDT Modified files: /php-src/main SAPI.c /php-src NEWS Log: Fixed bug #27687 (Bug Adding Default Charset to 'text/*' Content-Type Header http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.183&r2=1.184&ty=u Index: php-src/main/SAPI.c diff -u php-src/main/SAPI.c:1.183 php-src/main/SAPI.c:1.184 --- php-src/main/SAPI.c:1.183 Mon Mar 8 21:24:02 2004 +++ php-src/main/SAPI.c Thu Mar 25 03:41:59 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: SAPI.c,v 1.183 2004/03/09 02:24:02 iliaa Exp $ */ +/* $Id: SAPI.c,v 1.184 2004/03/25 08:41:59 helly Exp $ */ #include <ctype.h> #include <sys/stat.h> @@ -560,8 +560,9 @@ if (!STRCASECMP(header_line, "Content-Type")) { char *ptr = colon_offset+1, *mimetype = NULL, *newheader; size_t len = header_line_len - (ptr - header_line), newlen; - while (*ptr == ' ' && *ptr != '\0') { + while (*ptr == ' ') { ptr++; + len--; } #if HAVE_ZLIB if(!strncmp(ptr, "image/", sizeof("image/")-1)) { http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1655&r2=1.1656&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1655 php-src/NEWS:1.1656 --- php-src/NEWS:1.1655 Wed Mar 24 08:31:17 2004 +++ php-src/NEWS Thu Mar 25 03:42:00 2004 @@ -1,6 +1,8 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ????? 2004, PHP 5 Release Candidate 2 +- Fixed bug #27687 (Bug Adding Default Charset to "text/*" Content-Type + Header). (Marcus) - Fixed bug #27646 (Cannot serialize/unserialize non-finite numeric values). (Marcus) - Fixed bug #27641 (Object cloning in ze1_compatibility_mode was reimplemented)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php