Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45509 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92149 invoked from network); 6 Sep 2009 20:33:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2009 20:33:54 -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 72.14.220.159 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: 72.14.220.159 fg-out-1718.google.com Received: from [72.14.220.159] ([72.14.220.159:60989] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/45-61935-1BC14AA4 for ; Sun, 06 Sep 2009 16:33:53 -0400 Received: by fg-out-1718.google.com with SMTP id e12so511120fga.11 for ; Sun, 06 Sep 2009 13:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=yXTVnLHbb7Wc2fzW5J8X/JTBuL4yWw6nq2O4TO4bsK4=; b=LnxpdUVLZfTKp9bg5Yklwpm68Qnoi1Q736KHmY8n9lZg5/RkubZReK2cC6XfCwFD0N JFABOfxsjRx1O+hDKzuJ52Haplb5t84grDlKRP7iTRq1rHG/ky67nQcKImxd+hukNXwb fzXu+OKpNZSTnuHKJJpgolXBrxukOzSDsHSF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=e324F7MQ8pf48hAPYeU75qNbcfVWs73e5BnavyuP2y7VkI6X2/1rOc9nM9BhYU87P5 KdNWm0SuG+B1KCszSY55RlHE6TvY6lyVO7N+jL5aLk6okk9Yl/PJWJITI0w5TSuHS/7C 2FjVtb86SSOUvKASBfQpXKt5vC6m/9mvSQOoo= MIME-Version: 1.0 Received: by 10.86.222.15 with SMTP id u15mr7246670fgg.33.1252269229593; Sun, 06 Sep 2009 13:33:49 -0700 (PDT) In-Reply-To: <4AA40A5D.4010703@gmail.com> References: <20090904081640.GA28685@joeysmith.com> <4AA24FDB.90409@sci.fi> <4AA25E16.7040803@sci.fi> <30CAA781-B1EE-44E0-AC7B-47FF3DF48FE1@tabini.ca> <698DE66518E7CA45812BD18E807866CE03415400@us-ex1.zend.net> <4AA40A5D.4010703@gmail.com> Date: Sun, 6 Sep 2009 22:33:49 +0200 Message-ID: To: Keisial Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] shebang skipping in 5.3.0 From: pierre.php@gmail.com (Pierre Joye) Hi, For the record here, as far as I can see, the bugs have been fixed by Jani. Please go testing and report any reminding issues :) Cheers, On Sun, Sep 6, 2009 at 9:15 PM, Keisial wrote: > Andi Gutmans wrote: >> If this is indeed a use-case for CGI then I think it's a valid argument >> and we are probably better off supporting it. I did not remember shebang >> works for real CGI. >> There are still plenty of use-cases for running CGI (as opposed to >> FastCGI) in the industry. >> Question now is whether this should be done in the scanner or in the >> SAPI. =A0I'll check with Dmitry who made this change. >> >> Andi >> > Probably in sapi, so it only affects cgi and cli, and doesn't > reintroduce bug 46844. > OTOH, skipping shebang on included files could be a feature, if someone > uses cgi and uses > files both as entrypoint and included scripts. > A compromise might be skipping shebang line only when it's followed by > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Pierre http://blog.thepimp.net | http://www.libgd.org