Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37826 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38773 invoked from network); 23 May 2008 14:40:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2008 14:40:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 207.210.105.50 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 207.210.105.50 analucia.asmallorange.com Received: from [207.210.105.50] ([207.210.105.50:33220] helo=analucia.asmallorange.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/0F-35754-567D6384 for ; Fri, 23 May 2008 10:40:38 -0400 Received: from c-67-183-226-207.hsd1.wa.comcast.net ([67.183.226.207]:50677 helo=[192.168.0.135]) by analucia.asmallorange.com with esmtpa (Exim 4.68) (envelope-from ) id 1JzYRd-0004c2-FW; Fri, 23 May 2008 10:40:33 -0400 Cc: "Rasmus Lerdorf" , "Lars Strojny" , "internals Mailing List" Message-ID: To: Pierre Joye In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 23 May 2008 07:40:27 -0700 References: <5B2E59A9-BC46-447F-BEBC-C4149866A802@roshambo.org> <1211494158.7416.5.camel@localhost> <48360328.3040500@lerdorf.com> X-Mailer: Apple Mail (2.919.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - analucia.asmallorange.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roshambo.org X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] magic quotes finale From: philip@roshambo.org (Philip Olson) >> We have covered this a bunch of times already. magic_quotes_gpc >> are gone, >> but we leave in the function that tells userspace code that they >> are off. >> get_magic_quotes_gpc() will always return false which means that >> thousands >> of applications out there will run unchanged and will simply take the >> magic_quotes off code path. > > Exactly, what I said in my very first reply to this thread. With all > respects to Philip, this RFC and discussion are pointless, the > solution has been approved and the problem is about to be solved (when > I get two and half mins to apply my patch, probably early next week). But Rasmus, the patch planned by Pierre will emit errors. Even E_WARNING in 6.0. So here's possible upcoming documentation: "Checking for magic quotes is deprecated, as is setting them, so do neither in your code; else suffer errors." And: "Yes, magic_quotes_gpc is on by default in PHP 5.3 but checking its value is deprecated. Instead, assume they are always on or off." Maybe this makes the point clear to everyone? This is my last plea on the subject. Regards, Philip