Re: Request decoding in PHP 6 [patch]
| From: | Andrei Zmievski | Date: | Thu, 14 May 2009 17:41:33 +0000 |
| Subject: | Re: Request decoding in PHP 6 [patch] | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43939@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
Andrei, For you point #7 regarding the session extension. Perhaps we should make a simple API allowing extensions to register callbacks to execute on input data. Once request encoding is set, the callbacks can be ran for GPC input allow extensions (not just session) to do their input processing in a safe manner. We can even take it a step further and make it secondary to ext/filter processing, for some security bits.This is a good idea. However, we still have the issue of extensions needing some data from the request before $_POST or $_GET are ever mentioned in the script, since the decoding is done only at that time. -Andrei