summaryrefslogtreecommitdiff
path: root/doc/source/config.rst
diff options
context:
space:
mode:
authorxXx-caillou-xXx2018-08-27 13:56:44 +0200
committerjvoisin2018-08-27 11:56:44 +0000
commit096e7faa6a5e21e5416a7c8c484e27acd4636a66 (patch)
tree3dd11a05c4406280238459be917b8f47d22400f7 /doc/source/config.rst
parent6abdd9abca50c92390b94fbebb3e7065d5d532da (diff)
Add whitelist support for php's wrappers
Diffstat (limited to 'doc/source/config.rst')
-rw-r--r--doc/source/config.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst
index 14626ce..e209ecb 100644
--- a/doc/source/config.rst
+++ b/doc/source/config.rst
@@ -191,6 +191,17 @@ disable_xxe
191 sp.disable_xxe.enable(); 191 sp.disable_xxe.enable();
192 192
193 193
194Whitelist of stream-wrappers
195^^^^^^^^^^^^^^^^^^^^^^^^^^^^
196
197:ref:`Stream-wrapper whitelist <stream-wrapper-whitelist-feature>` allows
198to explicitly whitelist some `stream wrappers <https://secure.php.net/manual/en/intro.stream.php>`__.
199
200::
201
202 sp.wrappers_whitelist.list("file,php,phar");
203
204
194Eval white and blacklist 205Eval white and blacklist
195^^^^^^^^^^^^^^^^^^^^^^^^ 206^^^^^^^^^^^^^^^^^^^^^^^^
196 207