bfrance         Thu Aug 19 16:34:04 2004 EDT

  Modified files:              (Branch: PHP_5_0)
    /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.1760.2.47&r2=1.1760.2.48&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.47 php-src/NEWS:1.1760.2.48
--- php-src/NEWS:1.1760.2.47    Thu Aug 19 11:23:54 2004
+++ php-src/NEWS        Thu Aug 19 16:34:04 2004
@@ -3,6 +3,7 @@
 ?? ??? 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)
http://cvs.php.net/diff.php/php-src/main/SAPI.c?r1=1.187&r2=1.187.2.1&ty=u
Index: php-src/main/SAPI.c
diff -u php-src/main/SAPI.c:1.187 php-src/main/SAPI.c:1.187.2.1
--- php-src/main/SAPI.c:1.187   Tue Jun  8 09:23:38 2004
+++ php-src/main/SAPI.c Thu Aug 19 16:34:04 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: SAPI.c,v 1.187 2004/06/08 13:23:38 iliaa Exp $ */
+/* $Id: SAPI.c,v 1.187.2.1 2004/08/19 20:34:04 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

Reply via email to