Add safe_join: returns the filename used by send_from_directory.

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
This commit is contained in:
Simon Sapin 2011-04-04 16:53:04 +02:00 committed by Armin Ronacher
parent 0e4cd2e651
commit 7ed3196e8d
3 changed files with 30 additions and 8 deletions

View file

@ -244,6 +244,8 @@ Useful Functions and Classes
.. autofunction:: send_from_directory
.. autofunction:: safe_join
.. autofunction:: escape
.. autoclass:: Markup