chregu                                   Thu, 06 Oct 2011 18:30:55 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=317842

Log:
Fix wrong comment
Add new xsl ini options to php.ini

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/xsl/php_xsl.c
    U   php/php-src/branches/PHP_5_3/php.ini-development
    U   php/php-src/branches/PHP_5_3/php.ini-production

Modified: php/php-src/branches/PHP_5_3/ext/xsl/php_xsl.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/xsl/php_xsl.c      2011-10-06 18:17:10 UTC 
(rev 317841)
+++ php/php-src/branches/PHP_5_3/ext/xsl/php_xsl.c      2011-10-06 18:30:55 UTC 
(rev 317842)
@@ -142,7 +142,9 @@
 /* }}} */

 PHP_INI_BEGIN()
-//XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK 
| XSL_SECPREF_WRITE_FILE == 44
+/* Default is not allowing any write operations.
+   XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_NETWORK 
| XSL_SECPREF_WRITE_FILE == 44
+*/
 PHP_INI_ENTRY("xsl.security_prefs", "44", PHP_INI_ALL, NULL)
 PHP_INI_END()


Modified: php/php-src/branches/PHP_5_3/php.ini-development
===================================================================
--- php/php-src/branches/PHP_5_3/php.ini-development    2011-10-06 18:17:10 UTC 
(rev 317841)
+++ php/php-src/branches/PHP_5_3/php.ini-development    2011-10-06 18:30:55 UTC 
(rev 317842)
@@ -1896,6 +1896,12 @@
 [dba]
 ;dba.default_handler=

+[xsl]
+; Write operations from within XSLT are disabled by default.
+; 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
+
 ; Local Variables:
 ; tab-width: 4
 ; End:

Modified: php/php-src/branches/PHP_5_3/php.ini-production
===================================================================
--- php/php-src/branches/PHP_5_3/php.ini-production     2011-10-06 18:17:10 UTC 
(rev 317841)
+++ php/php-src/branches/PHP_5_3/php.ini-production     2011-10-06 18:30:55 UTC 
(rev 317842)
@@ -1895,6 +1895,12 @@
 [dba]
 ;dba.default_handler=

+[xsl]
+; Write operations from within XSLT are disabled by default.
+; 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
+
 ; Local Variables:
 ; tab-width: 4
 ; End:

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to