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
|<C2><A0>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
|<C2><A0>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 "<C2><A0>" removal. The
change isn't visible with UTF-8 locales)
Thanks,
Lior Kaplan
Zend Technologies Ltd.
Hi
Yeah, that looks very wrong. Do you want to commit it or should I?
chregu
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
|<C2><A0>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 = 44diff --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
|<C2><A0>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 "<C2><A0>" 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