Re: PHP 5.1
| From: | Derick Rethans | Date: | Wed, 02 Feb 2005 21:48:50 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14539@lists.php.net to get a copy of this message | ||
On Wed, 2 Feb 2005, Rasmus Lerdorf wrote:
> Derick Rethans wrote:
> > Well, people turn on safe mode just because the name implies that things
> > are safe too - which is wrong. I agree with Ilia, we should not mangle
> > request data by default. It's fine to provide filter functions but the
> > normal post/get/cookie data should be normally available through GET and
> > POST - this is starting to look like another magic_quotes. A bad thing!
>
> You guys can write your own implementation and put it in PECL alongside
> the one I am putting in there and we can decide if any of them should be
> bundled by default. Perhaps none of them should, but like it or not,
> people want to filter at this level and the extension to satisfy this
> need will be available to them in PECL.
Yes, there should be an extension that implements the filter functions -
but the normal data should still be available like it is in PHP 4.3 and
PHP 5.0. Adding an ext for those filters is a good thing, mangling
request data isn't (see the magic_quotes_gpc mess).
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org