Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62359 invoked from network); 25 Jun 2012 08:48:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2012 08:48:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=lior.k@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lior.k@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.199.177.89 as permitted sender) X-PHP-List-Original-Sender: lior.k@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:54996] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/11-56161-CE528EF4 for ; Mon, 25 Jun 2012 04:48:45 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id E0C0A5FD06; Mon, 25 Jun 2012 11:42:14 +0300 (IDT) Received: from [10.1.3.57] (10.1.3.57) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server id 14.1.255.0; Mon, 25 Jun 2012 11:48:26 +0300 To: CC: Christian Stocker Content-Type: text/plain; charset="UTF-8" Date: Mon, 25 Jun 2012 11:48:46 +0300 Message-ID: <1340614126.32207.13.camel@pc-liork> MIME-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.1.3.57] Subject: Non ASCII char in php.ini [patch] From: lior.k@zend.com (Lior Kaplan) 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.