Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50304 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61044 invoked from network); 17 Nov 2010 16:27:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Nov 2010 16:27:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=thetaphi@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=thetaphi@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.25.71.29 as permitted sender) X-PHP-List-Original-Sender: thetaphi@php.net X-Host-Fingerprint: 85.25.71.29 loft1553.serverloft.de Linux 2.6 Received: from [85.25.71.29] ([85.25.71.29:52918] helo=mail.troja.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/A2-40885-E8204EC4 for ; Wed, 17 Nov 2010 11:27:59 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id 3BB8AD36005 for ; Wed, 17 Nov 2010 17:27:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.troja.net Received: from mail.troja.net ([127.0.0.1]) by localhost (megaira.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t1keLFY2VP2O for ; Wed, 17 Nov 2010 17:27:50 +0100 (CET) Received: from VEGA (port-83-236-62-54.dynamic.qsc.de [83.236.62.54]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTPSA id EEA6FD36003 for ; Wed, 17 Nov 2010 17:27:49 +0100 (CET) To: "'Internals'" References: In-Reply-To: Date: Wed, 17 Nov 2010 17:28:07 +0100 Message-ID: <002d01cb8674$6b13a910$413afb30$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIQs10NH5H57cEEdOY7iMva4RlvoZLrggzw Content-Language: de Subject: RE: [PHP-DEV] Magic quotes in trunk From: thetaphi@php.net ("Uwe Schindler") Yeah, +1 for remove! ----- Uwe Schindler thetaphi@php.net - http://www.php.net NSAPI SAPI developer Bremen, Germany > -----Original Message----- > From: kalle.php@gmail.com [mailto:kalle.php@gmail.com] On Behalf Of Kalle > Sommer Nielsen > Sent: Wednesday, November 17, 2010 5:09 PM > To: Internals > Subject: [PHP-DEV] Magic quotes in trunk > > 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