#20198 [Ctl->Ana]: "always_populate_raw_post_data = On" breaks HTTP file uploads
| From: | hholzgra@php.net | Date: | Fri, 08 Nov 2002 08:12:43 +0000 |
| Subject: | #20198 [Ctl->Ana]: "always_populate_raw_post_data = On" breaks HTTP file uploads | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24325@lists.php.net to get a copy of this message | ||
ID: 20198
Updated by: hholzgra@php.net
Reported By: sniper@php.net
-Status: Critical
+Status: Analyzed
Bug Type: *General Issues
Operating System: *
PHP Version: 4.3.0-dev
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