summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2018-12-15 15:35:35 +0100
committerjvoisin2018-12-15 15:35:35 +0100
commit8333a6ac80cbe72821e4f2384e7e15ffd9a975ba (patch)
tree77b1de3b26b2e5ee43d15fb1ad30227a495ad8a7
parent19fcea2853bd95195b1c43e119ad8d870d82e587 (diff)
Document the previous commit
-rw-r--r--doc/source/config.rst3
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
182This feature can be used, for example, to check if an uploaded file contains php 182This feature can be used, for example, to check if an uploaded file contains php
183code, using `vld <https://derickrethans.nl/projects.html#vld>`_, 183code, using `vld <https://derickrethans.nl/projects.html#vld>`_,
184via `this script <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.py>`__. 184via `a python script <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.py>`__,
185or `a php one <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.php>`__.
185 186
186The upload will be **allowed** if the script returns the value ``0``. Every other 187The upload will be **allowed** if the script returns the value ``0``. Every other
187value will prevent the file from being uploaded. 188value will prevent the file from being uploaded.