summaryrefslogtreecommitdiff
path: root/doc/source/config.rst
diff options
context:
space:
mode:
authorChristian Göttsche2024-05-27 21:33:00 +0200
committerjvoisin2024-06-09 17:16:16 +0200
commitc7ce5c3528e8da8762e6e7067001549e109397ba (patch)
tree4c9606730af25a8f893193b7cc5cb718a20c3f35 /doc/source/config.rst
parent849252c6a48b428dde3ad8930b40a2bdf9874cb7 (diff)
Add option to specify the allowed "php" wrapper types
In addition of the current possibility to filter wrappers by their protocol name, also add the option to filter the "php" wrapper by the requested kind. Especially the 'filter' backend can be disabled that way.
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 9781046..75392d7 100644
--- a/doc/source/config.rst
+++ b/doc/source/config.rst
@@ -395,6 +395,17 @@ to explicitly whitelist some `stream wrappers <https://secure.php.net/manual/en/
395 sp.wrappers_whitelist.list("file,php,phar"); 395 sp.wrappers_whitelist.list("file,php,phar");
396 396
397 397
398Allowlist of the php stream-wrapper
399^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
400
401:ref:`The php-stream-wrapper allowlist <php-stream-wrapper-allowlist-feature>`
402allows to explicitly allow the builtin `php streams <https://www.php.net/manual/en/wrappers.php.php>`__.
403
404::
405
406 sp.wrappers_whitelist.php_list("stdout,stdin,stderr");
407
408
398Eval white and blacklist 409Eval white and blacklist
399^^^^^^^^^^^^^^^^^^^^^^^^ 410^^^^^^^^^^^^^^^^^^^^^^^^
400 411