Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40288 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93051 invoked from network); 5 Sep 2008 17:41:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2008 17:41:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:51859] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/B0-23120-B3F61C84 for ; Fri, 05 Sep 2008 13:41:16 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 5 Sep 2008 20:42:20 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 5 Sep 2008 10:42:17 -0700 Message-ID: <48C16F79.80201@zend.com> Date: Fri, 05 Sep 2008 10:42:17 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: jani.taskinen@iki.fi CC: Hannes Magnusson , =?ISO-8859-1?Q?Johanne?= =?ISO-8859-1?Q?s_Schl=FCter?= , PHP Internals List , Pierre-Alain Joye References: <20080904190717.aaz97tz688oogc4c@horde.chinstrap.eu> <48C0488C.9090209@sci.fi> <7f3ed2c30809050034mdaa38d1i7477a5be5cdd694c@mail.gmail.com> <48C0EB92.40504@sci.fi> In-Reply-To: <48C0EB92.40504@sci.fi> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Sep 2008 17:42:17.0625 (UTC) FILETIME=[BD7E8090:01C90F7E] Subject: Re: [PHP-DEV] Re: ini-parsing, double quotes, windows in 5.3 From: stas@zend.com (Stanislav Malyshev) Hi! > Anyway, the fix is quite easy: Only allow \" and no other escapes. And > doing "foo\" should cause a syntax error. Why? It's not like we don't know what the string "c:\foo\bar\" is supposed to mean - why shouldn't it just work? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com