#20198 [Ana->Csd]: "always_populate_raw_post_data = On" breaks HTTP file uploads
| From: | hholzgra@php.net | Date: | Fri, 08 Nov 2002 08:42:18 +0000 |
| Subject: | #20198 [Ana->Csd]: "always_populate_raw_post_data = On" breaks HTTP file uploads | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24326@lists.php.net to get a copy of this message | ||
ID: 20198
Updated by: hholzgra@php.net
Reported By: sniper@php.net
-Status: Analyzed
+Status: Closed
Bug Type: *General Issues
Operating System: *
PHP Version: 4.3.0-dev
Assigned To: hholzgra
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
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