-
Iuri de Silvio authored
The path is already validated in `_normalize_path`. Also, `send_from_directory` abort paths with backslash, breaking FileAdmin subfolders in Windows. With `send_file`, we have a minor issue with the download URL, it has path with backslash, but `_normalize_path` fix this before download.
2dc6d714
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| contrib | ||
| form | ||
| model | ||
| static | ||
| templates/admin | ||
| tests | ||
| translations | ||
| __init__.py | ||
| _backwards.py | ||
| _compat.py | ||
| actions.py | ||
| babel.py | ||
| base.py | ||
| helpers.py | ||
| tools.py |