Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45494 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81954 invoked from network); 5 Sep 2009 11:37:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2009 11:37:15 -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 209.85.220.212 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: 209.85.220.212 mail-fx0-f212.google.com Received: from [209.85.220.212] ([209.85.220.212:63650] helo=mail-fx0-f212.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/1E-08099-96D42AA4 for ; Sat, 05 Sep 2009 07:37:14 -0400 Received: by fxm8 with SMTP id 8so1165196fxm.23 for ; Sat, 05 Sep 2009 04:37:10 -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=YeGG3AlCHa0ztlK6PKB9sqdg2wxBmrYnird1ea367C0=; b=llSZKply9h+9B+Gd+QEIsLrNqYOHQP1fdhgma596gK85Z9ur4uDOOS8qSvYISGy8Ub V6uEnfWuu3IWP4EO0c4RzvU2BDNXYVSxg4ySS25/UR9epn3JdIgIXIlec2d1FGbwxk/0 Zgp9hmg+qNO72PHx8qTwbfso2DWykYXPWOpE4= 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=dlDDJ270qStxHE2umikh/ZrBW6/j2S3jytIJx3FeGs9QvI5DvkrHfR7cLRlgs2zEzt baI9lcPTo4i3mi1EZINqw2WWOTb16jWBEt4wNaY8tTBeilm0f4fuDUUMfDcOhlwXrsry KGOxiR/Q1SANOCQcYYHogMq1Gbn25JvahX6/s= MIME-Version: 1.0 Received: by 10.86.222.15 with SMTP id u15mr6005916fgg.33.1252150629907; Sat, 05 Sep 2009 04:37:09 -0700 (PDT) In-Reply-To: <698DE66518E7CA45812BD18E807866CE034153BA@us-ex1.zend.net> References: <20090904081640.GA28685@joeysmith.com> <753B9AED-C850-4EBA-A828-93A2542F81A2@macvicar.net> <20090904083457.GC28685@joeysmith.com> <698DE66518E7CA45812BD18E807866CE034153BA@us-ex1.zend.net> Date: Sat, 5 Sep 2009 13:37:09 +0200 Message-ID: To: Andi Gutmans Cc: Joey Smith , 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 Andi, Can you close (bogus) the bug please? Copy this explanation in there as wel= l :) Cheers, On Sat, Sep 5, 2009 at 5:51 AM, Andi Gutmans wrote: > Shebang is for command line scripts (php-cli). It does not make sense to > support it for Web server scripts. It just adds unnecessary > code/complexity to that code base. Removing the support from php-cgi was > really a remnant of the old days when cli and cgi were the same SAPI. > I think we are better off this way. > > Andi > >> -----Original Message----- >> From: Joey Smith [mailto:joey@joeysmith.com] >> Sent: Friday, September 04, 2009 1:35 AM >> To: internals@lists.php.net >> Subject: Re: [PHP-DEV] shebang skipping in 5.3.0 >> >> I definitely had the wrong changeset - sorry, Nuno. :) Looks >> like maybe 273177 is the problem child. >> >> http://tinyurl.com/lewcft >> >> >> On Fri, Sep 04, 2009 at 09:25:52AM +0100, Scott MacVicar wrote: >> > >> > >> > On 4 Sep 2009, at 09:16, Joey Smith wrote: >> > >> >> I can understand not having the 'shebang skipping' code >> >> in both the SAPI *and* the scanner, but we probably >> >> need to have it in at least ONE of them. :) >> >> >> >> Per his email[1] almost a year ago, Dmitry removed the >> >> shebang line check from sapi/cgi/cgi_main.c in changeset >> >> 264153, saying: >> >> =A0 =A0Removed shebang line check from CGI sapi (it is >> >> =A0 =A0 =A0 =A0checked by scanner) >> >> >> >> In http://tinyurl.com/me8528 (changeset 262275), nlopess >> >> removed the code from the scanner. >> >> >> >> Oops? >> > >> > What's the problem your having? The skip code is still there just in > a >> > different bit. >> > >> > Scott >> > >> > -- >> > PHP Internals - PHP Runtime Development Mailing List >> > To unsubscribe, visit: http://www.php.net/unsub.php >> > >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > 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