level of the script.
>>
>> If "../bad" doesn't trigger the open_basedir restriction, "../../bad"
>> most likely also wouldn't. Please correct me if I'm wrong.
>>
>>> Add a: chdir(__DIR__); at the top.
>>
>> Indeed, using
> Add a: chdir(__DIR__); at the top.
>
> Indeed, using chdir() seems to be the proper way to test for
> open_basedir restrictions, see
> <https://github.com/php/php-src/blob/PHP-7.0.11/tests/
> security/open_basedir.inc#L12-L14>.
>
> Should that be changed for PHP-5.6+?
>
ir(__DIR__); at the top.
Indeed, using chdir() seems to be the proper way to test for
open_basedir restrictions, see
<https://github.com/php/php-src/blob/PHP-7.0.11/tests/security/open_basedir.inc#L12-L14>.
Should that be changed for PHP-5.6+?
Cheers!
> Thoughts?
>
> On Fri, Aug 19,
Change the path to be "../../../../../bad" to ensure it's outside the
top-level of the script. Add a: chdir(__DIR__); at the top.
Thoughts?
On Fri, Aug 19, 2016 at 5:31 PM, Anatol Belski
wrote:
> Hi Davey,
>
> > -Original Message-
> > From: Davey Shafik [
Hi Davey,
> -Original Message-
> From: Davey Shafik [mailto:da...@php.net]
> Sent: Friday, August 19, 2016 7:09 PM
> To: Christoph M. Becker
> Cc: Anatol Belski ; internals@lists.php.net
> Subject: Re: [PHP-DEV] SQLite 3.14
>
> Christophe,
>
> I got th
On 19.08.2016 at 19:09, Davey Shafik wrote:
> I got the failure multiple times in my Debian Jessie docker container that
> I use for builds - you can check it out yourself at
> https://github.com/dshafik/php-build to see the setup.
>
> Thanks for looking into this!
Of course! And thanks for the
Argh! Apologies for autocomplete adding that 'e' to your name!
- Davey
On Sat, Aug 20, 2016 at 03:09 Davey Shafik wrote:
> Christophe,
>
> I got the failure multiple times in my Debian Jessie docker container that
> I use for builds - you can check it out yourself at
> https://github.com/dshafi
Christophe,
I got the failure multiple times in my Debian Jessie docker container that
I use for builds - you can check it out yourself at
https://github.com/dshafik/php-build to see the setup.
Thanks for looking into this!
- Davey
On Sat, Aug 20, 2016 at 01:35 Christoph M. Becker wrote:
> Hi
Hi Davey!
On 19.08.2016 at 15:32, Davey Shafik wrote:
> I saw this failure while packaging 7.1.0beta3, and assume it might be
> related to your update:
>
> FAIL SQLite3 open_basedir checks
> [ext/sqlite3/tests/sqlite3_21_security.phpt]
>
> DIFF
> 006-
> 007- Warning: SQLite3::__
Hey Christoph,
I saw this failure while packaging 7.1.0beta3, and assume it might be
related to your update:
FAIL SQLite3 open_basedir checks
[ext/sqlite3/tests/sqlite3_21_security.phpt]
DIFF
006-
007- Warning: SQLite3::__construct(): open_basedir restriction in effect.
File(%s)
On 10.08.2016 at 20:51, Rasmus Schultz wrote:
> On Wed, Aug 10, 2016 at 4:08 PM, Christoph M. Becker
> wrote:
>
>> Sounds reasonable, Anotol. Thanks. So I'm going to update 7.1+ ASAP.
>
> Are you going to include any plugins?
>
> I noticed today, SQLite has interesting optional features - i
On Wed, Aug 10, 2016 at 4:08 PM, Christoph M. Becker wrote:
> Sounds reasonable, Anotol. Thanks. So I'm going to update 7.1+ ASAP.
Are you going to include any plugins?
I noticed today, SQLite has interesting optional features - in
particular, the "json1" plug-in looks interesting.
Both MySQ
On 10.08.2016 at 16:01, Anatol Belski wrote:
> Hi Christoph,
>
>> -Original Message-
>> From: Christoph M. Becker [mailto:cmbecke...@gmx.de]
>> Sent: Monday, August 8, 2016 11:23 PM
>> To: internals@lists.php.net; Anatol Belski
>> Subject: [PHP-DEV] SQLite 3.14
>>
>> Hi!
>>
>> SQLite 3.1
Hi Christoph,
> -Original Message-
> From: Christoph M. Becker [mailto:cmbecke...@gmx.de]
> Sent: Monday, August 8, 2016 11:23 PM
> To: internals@lists.php.net; Anatol Belski
> Subject: [PHP-DEV] SQLite 3.14
>
> Hi!
>
> SQLite 3.14 has been released today. It brings some improvements a
14 matches
Mail list logo