Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40280 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91078 invoked from network); 5 Sep 2008 07:34:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2008 07:34:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.158 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 72.14.220.158 fg-out-1718.google.com Received: from [72.14.220.158] ([72.14.220.158:43501] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/11-19226-311E0C84 for ; Fri, 05 Sep 2008 03:34:44 -0400 Received: by fg-out-1718.google.com with SMTP id 16so717885fgg.23 for ; Fri, 05 Sep 2008 00:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/9uq3Y+3IDxMLZ69rhwoVVSlmr9AThFLj4jHqG1wH7k=; b=VccID03Raibk7YNQ3lSEXklqMOlYykof/27YKl0882ryWnFIy5Hl9b14wiUMo1fLCE sR56GA7SNSxiayiAu7YMeEoDQPq0ro/IMLnUvdgUtKG3PUTmx4YmWs3eiFVBynFdCxqZ B1BTZjsVS9Z88PjvLXv44njhofDRDkhiE+UKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lA1MtqRJgZ2eXOJMgXQynOT1I9adFDS8HnYD/YdGAcNfrgEN9aGQR5/jmvksEe8pdT TdSatXMl/xadMkgnOZE1MVI721izJWDdDT714R+U6Hp4a94ufhCednEU4AqTcFNmgzmi KY4hFK83MBaQ3XVwiUiqv1Yu9lv2tQ39/7kpQ= Received: by 10.103.228.12 with SMTP id f12mr7677570mur.28.1220600080708; Fri, 05 Sep 2008 00:34:40 -0700 (PDT) Received: by 10.103.179.15 with HTTP; Fri, 5 Sep 2008 00:34:40 -0700 (PDT) Message-ID: <7f3ed2c30809050034mdaa38d1i7477a5be5cdd694c@mail.gmail.com> Date: Fri, 5 Sep 2008 09:34:40 +0200 To: jani.taskinen@iki.fi Cc: "=?ISO-8859-1?Q?Johannes_Schl=FCter?=" , "PHP Internals List" , "Pierre-Alain Joye" In-Reply-To: <48C0488C.9090209@sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080904190717.aaz97tz688oogc4c@horde.chinstrap.eu> <48C0488C.9090209@sci.fi> Subject: Re: [PHP-DEV] Re: ini-parsing, double quotes, windows in 5.3 From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Thu, Sep 4, 2008 at 22:43, Jani Taskinen wrote: > Johannes Schl=FCter kirjoitti: >> >> Hi, >> >> now that we have a publicly available alpha on Windows we get the first >> feedback from Windows users. Within quite short time we got two bug >> reports (#45992 #45994) about a change in the ini-parsing: >> >> With <=3D5.2 we allow >> >> include_path =3D "c:\foo\bar\" > > That SHOULD cause a syntax error of course. If it doesn't, > it's the bug to fix. Allowing \" was a bug that was fixed to begin with. > If that causes a syntax error, it's quite easy to catch and fix by people > upgrading to 5.3.. php.ini-recommended, 5.3: ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ; UNIX: "/path1:/path2" ;include_path =3D ".:/php/includes" ; ; Windows: "\path1;\path2" ;include_path =3D ".;c:\php\includes" As you can see, Windows users are explicitly told to use foo\bar\ inside double quotes. This has been like this for years and is also documented in the manual. It looks to me that the old behavior was very intentional, logical or not. -Hannes