]> granicus.if.org Git - php/commit
Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
authorChristian Stocker <chregu@php.net>
Tue, 12 Jul 2011 04:58:38 +0000 (04:58 +0000)
committerChristian Stocker <chregu@php.net>
Tue, 12 Jul 2011 04:58:38 +0000 (04:58 +0000)
commit6be6c2d62df334fb48c3245898af249a4aeee242
treef5f62c73f7880edba1b782627c8ad8ff14b458a7
parentc4197dc35eac7f726523c047ebdda8de54841040
Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446

(second iteration of the code for trunk, first commit for 5.4 branch)
NEWS
UPGRADING
ext/xsl/php_xsl.c
ext/xsl/php_xsl.h
ext/xsl/xsl_fe.h
ext/xsl/xsltprocessor.c