Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19151 invoked from network); 10 Feb 2014 08:14:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2014 08:14:27 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.192.177 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.192.177 mail-pd0-f177.google.com Received: from [209.85.192.177] ([209.85.192.177:40409] helo=mail-pd0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/00-18799-16A88F25 for ; Mon, 10 Feb 2014 03:14:25 -0500 Received: by mail-pd0-f177.google.com with SMTP id x10so5723966pdj.8 for ; Mon, 10 Feb 2014 00:14:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=MPr2najCBbuDTpQJ9ql3jM36pWdKfP5XgO2I7fto3Ow=; b=U5XukZAYhdnFWJkJDCC5j/5Qv9gcSKg2mO/hOw6wvgk2BelhPAYv43kgO1BTFVdc3i ZCY6xIoHnzR6+DqkrWd0Wt5WebNoo/gqcvyNuPOaMQYXGMkDW31s6Ym0F0kLcrcZ0gqj Mj+djQ0ANmb34WLPTDHWNrvpw6v1AY4OTMdmooImGTN3ep5r+tj/LAirWt8qFdEkesNi Y5wpvlV3ZsxP3YrnOeepO1v+LWdJwUTfFtdA2JaVzN7KSNHe9ZfowR3m8T437uhTUV4e SwVFOMYxq6GpmXbAK8KMMvqFEC0CGGV6nEFU1iO60z7zG+BEP17sMdf0jMPDJLkrYdXz KtHQ== X-Gm-Message-State: ALoCoQlLRTkF9yDujBZiiV3UF4Z8tLS/Hp+lCd3ryDDk3a/db9k8dZExEMCGRfGYyTa48QSYWjwi X-Received: by 10.68.203.102 with SMTP id kp6mr14749177pbc.14.1392020062554; Mon, 10 Feb 2014 00:14:22 -0800 (PST) Received: from [192.168.200.14] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id jk16sm39729335pbb.34.2014.02.10.00.14.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 00:14:21 -0800 (PST) Message-ID: <52F88A5C.4010909@lerdorf.com> Date: Mon, 10 Feb 2014 00:14:20 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Yasuo Ohgaki , "internals@lists.php.net" References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] No PHP tags From: rasmus@lerdorf.com (Rasmus Lerdorf) On 02/09/2014 11:35 PM, Yasuo Ohgaki wrote: > Hi all, > > "Optional PHP tags by php.ini and CLI options" RFC has been discussed very > long time. > > https://wiki.php.net/rfc/nophptags > > I would like to know is there anyone who would like not to have > this. I think it's good counter measure for LFI, but you might have > different perspective. > > If it is possible, I would like to address as much as opinions possible > before voting. > > Are there anyone who think we should have this? > What is the reason? I think this would actually weaken security. Having two very different parsing modes means that if you mix the modes and include a file in one mode meant to be included in the other would leak the source code to the world which is arguably a worse security issue than the sloppy coding issue you are trying to prevent here. -Rasmus