php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20198 "always_populate_raw_post_data = On" breaks HTTP file uploads
Submitted: 2002-10-31 12:25 UTC Modified: 2002-11-08 02:42 UTC
From: sniper@php.net Assigned: hholzgra (profile)
Status: Closed Package: *General Issues
PHP Version: 4.3.0-dev OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sniper@php.net
New email:
PHP Version: OS:

 

 [2002-10-31 12:25 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-08 02:42 UTC] hholzgra@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC