Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50302 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57317 invoked from network); 17 Nov 2010 16:12:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Nov 2010 16:12:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:34651] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/02-40885-4FEF3EC4 for ; Wed, 17 Nov 2010 11:12:36 -0500 Received: by yxi11 with SMTP id 11so865966yxi.29 for ; Wed, 17 Nov 2010 08:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=gsyV/XiBOmPr/jL66OFPe6iMUhSgImAFdQLBgmFg5Mg=; b=SlkkdwFTf51O4UrvlJQC3xLVKf389K7KA//Maxkc04BhB1P/KhpmMuKL/OgrQJaBbB B25PrIGVuwlTGJ2oz0y0u05Veh0vy7/CyFw57WJcgFML/CVTweyyylKik+Qg1FpqW5/v BhZNd6XQYh9WCTPSlJKSFdx7fA/vyz+0WCcX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=O2o90Nx+F8xA2YTgroSsxH2u1JzvG/HrGUxM6I2Ew6Y9pxiTo6VfuJzDMvLKZkZW2t 8hrUBxkiW2zYn/XuAZF1ASzgIKiZtmWqSbxP73/Y5OjxROTaM/pxpc0SnCGDz4Eafvj6 z0QxnYe/YmJq08OIV3RqoRaOOafyIviZSFv1o= MIME-Version: 1.0 Received: by 10.90.87.8 with SMTP id k8mr11779930agb.6.1290010353308; Wed, 17 Nov 2010 08:12:33 -0800 (PST) Sender: tyra3l@gmail.com Received: by 10.90.53.4 with HTTP; Wed, 17 Nov 2010 08:12:33 -0800 (PST) In-Reply-To: References: Date: Wed, 17 Nov 2010 17:12:33 +0100 X-Google-Sender-Auth: JsOAXXEbNUxYCL7bjEDyu2LFJSc Message-ID: To: Kalle Sommer Nielsen Cc: Internals Content-Type: multipart/alternative; boundary=0016364ee4a2dd926a049541f0a0 Subject: Re: [PHP-DEV] Magic quotes in trunk From: info@tyrael.hu (Ferenc Kovacs) --0016364ee4a2dd926a049541f0a0 Content-Type: text/plain; charset=UTF-8 On Wed, Nov 17, 2010 at 5:08 PM, Kalle Sommer Nielsen wrote: > Greetings > > I wanted to raise this topic before we go Alpha with trunk, regarding > our beloved magic_quotes feature. There seems to be mixed opinions > regarding it so I thought I would take it up for discussion. > > We have advised people not to use magic_quotes, register_globals and > the like for years, and they were marked as deprecated in 5.3.0+ if > activated through their php.ini directives. Yet magic_quotes still is > set to "On" in 5.3.0. I think its worth we either remove the feature > or disable it in trunk as its a security related feature. Lets have a > look at what each of those options means: > > Removing magic_quotes): > Means we will remove the feature entirely in the source, we will throw > an E_CORE_ERROR if activated so people who have it enabled are forced > to disable it and make their applications work without magic_quotes. > This creates a minor issue for the hosts that simply disable it and > have their customers applications run without them which can create a > security risk for them, although it should be fairly limited. The > functions to check for magic_quotes_runtime should however stay for BC > to avoid applications that run on multiple versions of PHP from doing: > if(function_exists('...') && ...) > > Disabling them): > This will help to disable the spread of magic_quotes even more, and it > can safely be removed in the next major version of PHP. > > > My personal vote here goes towards removing them entirely. > > > What are your inputs on this matter? > > -- > regards, > > Kalle Sommer Nielsen > kalle@php.net > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > +1 for removing it. Tyrael --0016364ee4a2dd926a049541f0a0--