Re: shebang skipping in 5.3.0
| From: | Pierre Joye | Date: | Sun, 06 Sep 2009 20:33:49 +0000 |
| Subject: | Re: shebang skipping in 5.3.0 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45509@lists.php.net to get a copy of this message | ||
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<keisial@gmail.com> 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. I'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, but it's hackish.
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org