Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14539 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55907 invoked by uid 1010); 2 Feb 2005 21:49:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55882 invoked from network); 2 Feb 2005 21:49:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2005 21:49:09 -0000 X-Host-Fingerprint: 212.204.192.51 jdi.jdimedia.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([212.204.192.51:42113] helo=jdi.jdimedia.nl) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id E9/8F-25397-5DA41024 for ; Wed, 02 Feb 2005 16:49:09 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id j12Ln7vx018200 for ; Wed, 2 Feb 2005 22:49:07 +0100 Received: from jdi.jdimedia.nl ([127.0.0.1]) by localhost (jdi.jdimedia.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15707-07-3 for ; Wed, 2 Feb 2005 22:49:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.11/8.12.11) with ESMTP id j12LmrvT018145; Wed, 2 Feb 2005 22:48:54 +0100 Date: Wed, 2 Feb 2005 22:48:50 +0100 (CET) X-X-Sender: derick@localhost To: Rasmus Lerdorf cc: Ilia Alshanetsky , internals@lists.php.net In-Reply-To: <420149A4.6000201@lerdorf.com> Message-ID: References: <5.1.0.14.2.20050201142816.026d21c0@localhost> <5.1.0.14.2.20050201111730.0299da70@localhost> <5.1.0.14.2.20050201111730.0299da70@localhost> <5.1.0.14.2.20050201142816.026d21c0@localhost> <5.1.0.14.2.20050201151955.02730ec0@localhost> <4200169A.6050905@lerdorf.com> <42001C1D.3090105@cschneid.com> <42001D7B.1040707@trickie.org> <420024EC.4080601@lerdorf.com> <4200457F.5080305@prohost.org> <42005629.3000905@lerdorf.com> <4200D48A.9070305@prohost.org> <42010045.20807@lerdorf.com> <420149A4.6000201@lerdorf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdimedia.nl Subject: Re: [PHP-DEV] PHP 5.1 From: derick@php.net (Derick Rethans) 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