#20198 [Opn->Ctl]: "always_populate_raw_post_data = On" breaks HTTP file uploads

From: Date: Thu, 31 Oct 2002 18:26:30 +0000
Subject: #20198 [Opn->Ctl]: "always_populate_raw_post_data = On" breaks HTTP file uploads
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23830@lists.php.net to get a copy of this message
ID: 20198 Updated by: sniper@php.net Reported By: sniper@php.net -Status: Open +Status: Critical Bug Type: *General Issues Operating System: * -PHP Version: 4CVS-2002-10-31 +PHP Version: 4.3.0-dev -Assigned To: +Assigned To: hholzgra Previous Comments: ------------------------------------------------------------------------ [2002-10-31 12:25:03] sniper@php.net Broken by Hartmut with this commit: 2002-10-21 Hartmut Holzgraefe <hartmut@six.de> * ext/standard/php_fopen_wrapper.c main/SAPI.c main/main.c main/php_content_types.c main/php_globals.h: some changes to how request input data (Content-Lenght >0) is handled - webdav-specific stuff removed (should be handled using httpd.conf LIMIT or equivalents) - always_populate_raw_post_data now working on any method, not just POST (and webdav methods with allow_webdav_methods), when Content-Length is greater zero - raw input data is also available using php://input stream, this way one doesn't have to care about memory_limit - input data is now always consumed (although maybe ignored, this fixes we had withproblems with keep-alive connections ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20198&edit=1

« previous php.bugs (#23830) next »