Re: cvs: php4 /main safe_mode.c
| From: | Wez Furlong | Date: | Fri, 16 Aug 2002 09:46:06 +0000 |
| Subject: | Re: cvs: php4 /main safe_mode.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-13402@lists.php.net to get a copy of this message | ||
Hi Ilia,
I'm committing a patch in a moment that makes this check use the wrappers
sub-system itself to determine if a filename is a wrapped filename.
I would be grateful if you could look over it and check it through.
--Wez.
On 08/16/02, "Ilia Alshanetsky" <ilia@prohost.org> wrote:
> iliaa Thu Aug 15 23:52:38 2002 EDT
>
> Modified files:
> /php4/main safe_mode.c
> Log:
> Make https:// be exempt from safe_mode checks, just like
> http:// & ftp:// are.
> - if (!strncasecmp(filename,"http://", 7) ||
> !strncasecmp(filename,"ftp://", 6)) {
> + if (!strncasecmp(filename,"http://", 7) ||
> !strncasecmp(filename,"ftp://", 6) ||
> !strncasecmp(filename,"https://", 8)) {
> return 1;