Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35220 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36817 invoked by uid 1010); 6 Feb 2008 01:30:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36802 invoked from network); 6 Feb 2008 01:30:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2008 01:30:14 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.82.232 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.82.232 wx-out-0506.google.com Received: from [66.249.82.232] ([66.249.82.232:12518] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/36-25726-4AD09A74 for ; Tue, 05 Feb 2008 20:30:13 -0500 Received: by wx-out-0506.google.com with SMTP id s14so3096749wxc.26 for ; Tue, 05 Feb 2008 17:30:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=TT3HfHPTJD+wEfBKLYNfDvJifdfVRJEmdKnfT7sNzwk=; b=hDsX9SUnSMWzbE0NuMVFiEWh3lFrtyy9Jf8+b03FxoLqXilZYmUKriSCzCrfOoyIwThRs9PRmgQfeT0yY2FlnX2ijTWfADA77cpsi0VVxV6bwXwp0rBt3TaejQV6TxfdwZ7ERpqcpQwbdwcq3MD7Tj01vOJP2R0oTdUkE1wvMsM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WILbx4g4AmSAePQ+Ru1BEa3oA5CyCPeCz7EweCRgcfN3Id50y+GhyK0VDstcf6iM+xUmbfI6Hai2eCqXNeFiRN2HGc2ZilJduF0/GMFs2pTKHUeTxLfpwZzkUpWBMRelkVBod7Sy6ia8Dy5A7I3s8tnnJR+BmymaRIvFciJCLJE= Received: by 10.140.192.9 with SMTP id p9mr6181941rvf.168.1202261408416; Tue, 05 Feb 2008 17:30:08 -0800 (PST) Received: by 10.141.70.21 with HTTP; Tue, 5 Feb 2008 17:30:08 -0800 (PST) Message-ID: Date: Wed, 6 Feb 2008 02:30:08 +0100 To: "Rasmus Lerdorf" Cc: "Daniel Brown" , "PHP internals" In-Reply-To: <47A909A1.9050201@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47A909A1.9050201@lerdorf.com> Subject: Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision From: pierre.php@gmail.com ("Pierre Joye") Hi Rasmus, On Feb 6, 2008 2:13 AM, Rasmus Lerdorf wrote: > Daniel Brown wrote: > > On Feb 5, 2008 3:26 PM, Daniel Brown wrote: > >> On Feb 5, 2008 3:23 PM, Pierre Joye wrote: > >>> Hi, > >>> > >>> It seems that there is voices in favor of keeping the GPC related > >>> functions in HEAD/php6 but returning always FALSE. > >> Personally.... > >> > >> XX > > > > VOTE CHANGED > > > > -1 > > > > After a quick off-list discussion with Hannes (gotta' love Gmail > > chat), I realized that I forgot to consider backwards-compatibility. > > I think a lot of people miss the point of these particular functions. > This isn't about whether to keep magic quotes or not, it is whether to > keep the function that tells you whether magic quote mangling is > enabled. There is a lot of code out there that checks to see if this > feature is on, and deals with that case. Having this function that > simply tells the code to take the other path will allow it to work. > This is not about restoring the magic quotes feature at all. Exactly, I thought it was clear. As I can see it was, the votes (not that much ;) in favor of keeping the functions argue about your example, keep the if (get_magic_quotes_gpc...) working without changes (if (php6)...). Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org