Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60968 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51050 invoked from network); 26 Jun 2012 09:55:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2012 09:55:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=chregu@liip.ch; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chregu@liip.ch; sender-id=pass Received-SPF: pass (pb1.pair.com: domain liip.ch designates 207.126.144.139 as permitted sender) X-PHP-List-Original-Sender: chregu@liip.ch X-Host-Fingerprint: 207.126.144.139 eu1sys200aog115.obsmtp.com Linux 2.5 (sometimes 2.4) (4) Received: from [207.126.144.139] ([207.126.144.139:38549] helo=eu1sys200aog115.obsmtp.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/20-49439-B0789EF4 for ; Tue, 26 Jun 2012 05:55:24 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]) (using TLSv1) by eu1sys200aob115.postini.com ([207.126.147.11]) with SMTP ID DSNKT+mHB4PbD8LA4dl1/TezBs1faMmw2VUI@postini.com; Tue, 26 Jun 2012 09:55:23 UTC Received: by wgbds1 with SMTP id ds1so3487719wgb.4 for ; Tue, 26 Jun 2012 02:55:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=ZFefM/OihIPt0n1ozWDhaYki6g2W8NRfXV0quAwPI1c=; b=gbRpShfc4MV/GIBIWtPukoIDps05rpPkDrdnwIlbYzOdUT0E5xNU9+zurEysYlDBMk 5qPh4NJc9QVAZfKqbEHFP/CXSy8ah9Dyy2f6fjKcE6f17G4saFyFidk/GDTb1hoK4c8e 6QTbmTb2O741ANVZIDnyvBg171CM6aN5FVuHlaOjun16aWhcB/WN4kY6wX8/eeZlsJd4 uAoHt4FWZwiVGdNCHZmf1B1usHo9mHE4gbXLCT77wgybAkpkOyGTjBeEQb+XSp1Zye7W ppZ7khrDEFwYNVNmTD87hqeFuHLNXU6izhTBwkcEycTOgVJccNZsjBH2Pg7K3Z1hw7tZ Ixnw== Received: by 10.180.14.165 with SMTP id q5mr31345220wic.8.1340704519523; Tue, 26 Jun 2012 02:55:19 -0700 (PDT) Received: from pri7.local (77-58-253-248.dclient.hispeed.ch. [77.58.253.248]) by mx.google.com with ESMTPS id q6sm3998322wiy.0.2012.06.26.02.55.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jun 2012 02:55:18 -0700 (PDT) Sender: Christian Stocker Message-ID: <4FE98704.2050106@php.net> Date: Tue, 26 Jun 2012 11:55:16 +0200 Reply-To: christian.stocker@liip.ch User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Lior Kaplan CC: internals@lists.php.net References: <1340614126.32207.13.camel@pc-liork> In-Reply-To: <1340614126.32207.13.camel@pc-liork> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkNCt0ixyTA2jBM28Z5H6iTRSmQaaydIuXrvCuc3jTONR38wLm7fJtR9krCzj28XO286gN4 Subject: Re: Non ASCII char in php.ini [patch] From: christian.stocker@liip.ch (Christian Stocker) Hi Yeah, that looks very wrong. Do you want to commit it or should I? chregu On 25.06.12 10:48, Lior Kaplan wrote: > Hi, > > We've noticed that the php.ini-development and php.ini-production > include a UTF-8 character which looks weird under ASCII (or other > "simple" locales). > > It was added with this commit to the PHP-5.3 branch: > http://git.php.net/?p=php-src.git;a=patch;h=c9b5d92821db7335632f8578871e2b75ac018f2a > > (It doesn't exist in PHP-5.4/master branches) > > diff --git a/php.ini-development b/php.ini-development > index 1375516..d1fa7a3 100644 > --- a/php.ini-development > +++ b/php.ini-development > @@ -1909,7 +1909,7 @@ ldap.max_links = -1 > > [xsl] > ; Write operations from within XSLT are disabled by default. > -; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK > |XSL_SECPREF_WRITE_FILE = 44 > +; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK | > XSL_SECPREF_WRITE_FILE = 44 > ; Set it to 0 to allow all operations > ;xsl.security_prefs = 44 > > diff --git a/php.ini-production b/php.ini-production > index 495fb01..9d5861d 100644 > --- a/php.ini-production > +++ b/php.ini-production > @@ -1909,7 +1909,7 @@ ldap.max_links = -1 > > [xsl] > ; Write operations from within XSLT are disabled by default. > -; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK > |XSL_SECPREF_WRITE_FILE = 44 > +; XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK | > XSL_SECPREF_WRITE_FILE = 44 > ; Set it to 0 to allow all operations > ;xsl.security_prefs = 44 > > (this is the diff with LC_ALL=c, notice the "" removal. The > change isn't visible with UTF-8 locales) > > Thanks, > > Lior Kaplan > Zend Technologies Ltd. > -- Liip AG // Feldstrasse 133 // CH-8004 Zurich Tel +41 43 500 39 81 // Mobile +41 76 561 88 60 www.liip.ch // blog.liip.ch // GnuPG 0x0748D5FE