diff options
Diffstat (limited to 'pyload/web/pyload_app.py')
-rw-r--r-- | pyload/web/pyload_app.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyload/web/pyload_app.py b/pyload/web/pyload_app.py index 1c89e2ada..50d9b9731 100644 --- a/pyload/web/pyload_app.py +++ b/pyload/web/pyload_app.py @@ -43,6 +43,7 @@ def serve_icon(path): @route("/download/:fid") @login_required('Download') def download(fid, api): + # TODO: check owner ship path, name = api.getFilePath(fid) return static_file(name, path, download=True) |