bfrance Thu Aug 19 16:35:36 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/main SAPI.c
Log:
[MFH] If you send a post with a content-type header and then the next post without
the content-type header, raw_post_data will not be set. This is because
SG(request_info).post_entry is set to the first requests function pointer which makes
it follow the wrong code path.
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.719&r2=1.1247.2.720&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.719 php-src/NEWS:1.1247.2.720
--- php-src/NEWS:1.1247.2.719 Wed Aug 18 17:30:40 2004
+++ php-src/NEWS Thu Aug 19 16:35:35 2004
@@ -1,6 +1,7 @@
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2004, Version 4.3.9
+- Fixed bug with raw_post_data not getting set (Brian)
- Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
- Fixed bug #29727 (Added missing CURL authentication directives). (Ilia)
- Fixed bug #29719 (fgetcsv() has problem parsing strings ending with escaped
http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.155.2.21&r2=1.155.2.22&ty=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.155.2.21 php-src/main/SAPI.c:1.155.2.22
--- php-src/main/SAPI.c:1.155.2.21 Tue Jun 8 09:23:46 2004
+++ php-src/main/SAPI.c Thu Aug 19 16:35:36 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.155.2.21 2004/06/08 13:23:46 iliaa Exp $ */
+/* $Id: SAPI.c,v 1.155.2.22 2004/08/19 20:35:36 bfrance Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -331,6 +331,7 @@
SG(request_info).current_user = NULL;
SG(request_info).current_user_length = 0;
SG(request_info).no_headers = 0;
+ SG(request_info).post_entry = NULL;
/* It's possible to override this general case in the activate() callback, if
* necessary.
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php