diff options
| author | jvoisin | 2018-12-15 15:35:35 +0100 |
|---|---|---|
| committer | jvoisin | 2018-12-15 15:35:35 +0100 |
| commit | 8333a6ac80cbe72821e4f2384e7e15ffd9a975ba (patch) | |
| tree | 77b1de3b26b2e5ee43d15fb1ad30227a495ad8a7 | |
| parent | 19fcea2853bd95195b1c43e119ad8d870d82e587 (diff) | |
Document the previous commit
| -rw-r--r-- | doc/source/config.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index f57261d..104515b 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -181,7 +181,8 @@ argument and various information about it in the environment: | |||
| 181 | 181 | ||
| 182 | This feature can be used, for example, to check if an uploaded file contains php | 182 | This feature can be used, for example, to check if an uploaded file contains php |
| 183 | code, using `vld <https://derickrethans.nl/projects.html#vld>`_, | 183 | code, using `vld <https://derickrethans.nl/projects.html#vld>`_, |
| 184 | via `this script <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.py>`__. | 184 | via `a python script <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.py>`__, |
| 185 | or `a php one <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.php>`__. | ||
| 185 | 186 | ||
| 186 | The upload will be **allowed** if the script returns the value ``0``. Every other | 187 | The upload will be **allowed** if the script returns the value ``0``. Every other |
| 187 | value will prevent the file from being uploaded. | 188 | value will prevent the file from being uploaded. |
