]> granicus.if.org Git - php/commitdiff
[MFH] If you send a post with a content-type header and then the next post without...
authorBrian France <bfrance@php.net>
Thu, 19 Aug 2004 20:34:04 +0000 (20:34 +0000)
committerBrian France <bfrance@php.net>
Thu, 19 Aug 2004 20:34:04 +0000 (20:34 +0000)
NEWS
main/SAPI.c

diff --git a/NEWS b/NEWS
index 84027ebc40cdff070ff68eed3c43451ab0121f3b..27cc968f5b4d2e9216fbe427a70c0904a661a75c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ PHP                                                                        NEWS
 ?? ??? 2004, PHP 5.0.2
 - Added PHP_EOL constant that contains the OS way of representing newlines.
   (Paul Hudson, Derick)
+- Fixed bug with raw_post_data not getting set (Brian)
 - Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
 - Fixed bug #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE on error). (Tony)
 - Fixed bug #29711 (Changed ext/xml to default to UTF-8 output). (Rob)
index b1e3488f06529de829d505254de02357bedf73d1..7d8c67a0bcc6ba7a01b6226e9fa608f53c8bd9b2 100644 (file)
@@ -331,6 +331,7 @@ SAPI_API void sapi_activate(TSRMLS_D)
        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.