Re: Parsing PUT data

From: Date: Tue, 24 Sep 2013 06:47:32 +0000
Subject: Re: Parsing PUT data
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-69309@lists.php.net to get a copy of this message
Tjerk Meesters wrote:
Perhaps it might be a better idea to expose the multipart parser as a function, so that you can bind the decoded body to either an object or array. The trick is to keep is_uploaded_file(), etc. working, though.
I've looked into this before (for almost this exact issue), and PHP internally checks that the file was originally created by the internal parser. If that's changed, there's probably security concerns with doing so. +1 on the idea though. -- Ryan McCue <http://ryanmccue.info/>

« previous php.internals (#69309) next »