Skip to content

Commit

Permalink
Document the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Dec 15, 2018
1 parent 19fcea2 commit 8333a6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ argument and various information about it in the environment:

This feature can be used, for example, to check if an uploaded file contains php
code, using `vld <https://derickrethans.nl/projects.html#vld>`_,
via `this script <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.py>`__.
via `a python script <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.py>`__,
or `a php one <https://github.com/nbs-system/snuffleupagus/tree/master/scripts/upload_validation.php>`__.

The upload will be **allowed** if the script returns the value ``0``. Every other
value will prevent the file from being uploaded.
Expand Down

0 comments on commit 8333a6a

Please sign in to comment.