Req #61439 [NEW]: POST and other methods input data handling
| From: | martin dot koranda at gmail dot com | Date: | Mon, 19 Mar 2012 17:36:38 +0000 |
| Subject: | Req #61439 [NEW]: POST and other methods input data handling | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-168620@lists.php.net to get a copy of this message | ||
From:
Operating system: windows
PHP version: 5.4.0
Package: *General Issues
Bug Type: Feature/Change Request
Bug description:POST and other methods input data handling
Description:
------------
when sending multipart/form-data via a POST method, PHP internally parses
all
variables into $_POST and files into $_FILES. but the parsing is not done
with any
other method (PUT,PATCH,PROPFIND ..)
additionally, sending POST with multipart/form-data makes php://input
unavailable.
so there is no universal parsing solution which covers all methods.
there should be a setting option (php.ini) where i can determine which
particular
methods i want the internal parser run for (eg. "parse_input_methods =
POST,PUT,PATCH")
and/or there should be an option for disabling that internal parser
completely.
--
Edit bug report at https://bugs.php.net/bug.php?id=61439&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61439&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61439&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61439&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61439&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61439&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61439&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61439&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61439&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61439&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61439&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61439&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61439&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61439&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61439&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61439&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61439&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61439&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61439&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61439&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61439&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61439&r=mysqlcfg