Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54116 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95038 invoked from network); 21 Jul 2011 09:19:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2011 09:19:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.42 mail-yi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:64884] helo=mail-yi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/C0-21463-82FE72E4 for ; Thu, 21 Jul 2011 05:19:37 -0400 Received: by yih10 with SMTP id 10so611092yih.29 for ; Thu, 21 Jul 2011 02:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=K/TIB8oBIWN9etgeWlJFVvWnlCjwSIUMGpxjdIb1l+k=; b=kglMFUZ5FQkFw81I+Oo8O2ztbmBL7BpRsUb/lWJGOQvlfzweKuZ17lwi7oZSeqKnoz qQfjwTPtarY0c0RrH0Jfo2klxSLlJiPWAyf5EBEZ4VdHUmGKjzVYzLEqTUXA7rX3LeQn HGH7d/Sh8jjUovas137e7MN8T0rhCZqCt2fww= MIME-Version: 1.0 Received: by 10.150.53.19 with SMTP id b19mr411568yba.37.1311239974087; Thu, 21 Jul 2011 02:19:34 -0700 (PDT) Received: by 10.147.35.7 with HTTP; Thu, 21 Jul 2011 02:19:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Jul 2011 11:19:34 +0200 Message-ID: To: Pierrick Charron Cc: PHP internals , David Soria Parra , Stanislav Malyshev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Magic quotes removal previous patch From: pierre.php@gmail.com (Pierre Joye) hi Pierrick! Thanks for the updated patch :) Now the only question remaining is which level warning we should use for the setter. I'm happy with E_CORE. Objections? On Thu, Jul 21, 2011 at 2:18 AM, Pierrick Charron wr= ote: > I tried to send the patch as a .txt file but it seems my mail was not > send to internals since i don't see it on news.php.net. > > Anyway you'll find patch (code + tests) here : > -=A0http://www.adoy.net/php/remove-magic-quotes.txt > -=A0http://www.adoy.net/php/remove-magic-quotes-tests.txt > > Pierrick > > On 20 July 2011 15:44, Pierre Joye wrote: >> >> hi, >> >> Please find as attachment the previous patch to remove the magic quotes. >> >> The log I was using back then was (5 years ago already, mq resists :): >> >> =A0Log: >> =A0- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase >> =A0(calling ini_set('magic_....') returns 0|false >> =A0- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always >> return false >> =A0- set_magic_quotes_runtime raises an E_CORE_ERROR >> >> Cheers, >> -- >> Pierre >> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org