Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40302 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29927 invoked from network); 6 Sep 2008 09:45:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2008 09:45:25 -0000 Received: from [127.0.0.1] ([127.0.0.1:5599]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id FA/13-12247-53152C84 for ; Sat, 06 Sep 2008 05:45:25 -0400 Authentication-Results: pb1.pair.com header.from=j.boggiano@seld.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=j.boggiano@seld.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain seld.be designates 74.125.46.28 as permitted sender) X-PHP-List-Original-Sender: j.boggiano@seld.be X-Host-Fingerprint: 74.125.46.28 yw-out-2324.google.com Received: from [74.125.46.28] ([74.125.46.28:24790] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/13-12247-57052C84 for ; Sat, 06 Sep 2008 05:42:14 -0400 Received: by yw-out-2324.google.com with SMTP id 5so75484ywb.83 for ; Sat, 06 Sep 2008 02:42:10 -0700 (PDT) Received: by 10.151.111.1 with SMTP id o1mr2842997ybm.187.1220694130668; Sat, 06 Sep 2008 02:42:10 -0700 (PDT) Received: by 10.151.110.2 with HTTP; Sat, 6 Sep 2008 02:42:10 -0700 (PDT) Message-ID: <4bcbf4710809060242o7116d6bcldd69db2d06dc8b5a@mail.gmail.com> Date: Sat, 6 Sep 2008 11:42:10 +0200 Sender: j.boggiano@seld.be To: "PHP Internals List" In-Reply-To: <48C1CB86.7030600@macvicar.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080904190717.aaz97tz688oogc4c@horde.chinstrap.eu> <48C0488C.9090209@sci.fi> <48C04E6A.2080909@zend.com> <48C1A51D.5030803@zend.com> <48C1C89D.2050603@zend.com> <48C1CB86.7030600@macvicar.net> X-Google-Sender-Auth: d794ad17bd0eb90c Subject: Re: [PHP-DEV] Re: ini-parsing, double quotes, windows in 5.3 From: j.boggiano@seld.ch ("Jordi Boggiano") On Sat, Sep 6, 2008 at 2:15 AM, Scott MacVicar 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.