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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to