Re: [PATCH] Add option to disable POST data processing
| From: | Michael Wallner | Date: | Tue, 07 Dec 2010 10:27:48 +0000 |
| Subject: | Re: [PATCH] Add option to disable POST data processing | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50889@lists.php.net to get a copy of this message | ||
On 12/07/2010 08:08 AM, Gustavo Lopes wrote:
The very simple attached patch adds an option to disable POST data processing, which implies the data can only be read in a stream fashion through php://input. This introduces a new ini setting, disable_post_data_processing, but it's a benign one. No incompatibilities between setups will arise because no one will enable it globally (it would be insane), only selectively to the scripts that require it. The reason for an ini setting is that it must be set early in the request life. Thoughts?Definitely +1.