Re: Re: ini-parsing, double quotes, windows in 5.3
| From: | Jordi Boggiano | Date: | Sat, 06 Sep 2008 09:42:10 +0000 |
| Subject: | Re: Re: ini-parsing, double quotes, windows in 5.3 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40302@lists.php.net to get a copy of this message | ||
On Sat, Sep 6, 2008 at 2:15 AM, Scott MacVicar <scott@macvicar.net> wrote:
> Stanislav Malyshev wrote:
>> No, the main argument is that it would break people's configs, and for
>> no good reason at all (nobody really needs \n's in their paths).
>
> This code is used in parse_ini_file() where it is possible that escapes
> would be used legitimately, it's not all about paths.
This means that not only php.ini will fail - although that is indeed
easy to notice - but also any application using ini files might break
in a much less obvious manner, right ? It's something that might need
to be taken into account.