diff options
| author | xXx-caillou-xXx | 2018-08-27 13:56:44 +0200 |
|---|---|---|
| committer | jvoisin | 2018-08-27 11:56:44 +0000 |
| commit | 096e7faa6a5e21e5416a7c8c484e27acd4636a66 (patch) | |
| tree | 3dd11a05c4406280238459be917b8f47d22400f7 /doc/source/config.rst | |
| parent | 6abdd9abca50c92390b94fbebb3e7065d5d532da (diff) | |
Add whitelist support for php's wrappers
Diffstat (limited to 'doc/source/config.rst')
| -rw-r--r-- | doc/source/config.rst | 11 |
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 | ||
| 194 | Whitelist of stream-wrappers | ||
| 195 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| 196 | |||
| 197 | :ref:`Stream-wrapper whitelist <stream-wrapper-whitelist-feature>` allows | ||
| 198 | to 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 | |||
| 194 | Eval white and blacklist | 205 | Eval white and blacklist |
| 195 | ^^^^^^^^^^^^^^^^^^^^^^^^ | 206 | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 196 | 207 | ||
