diff --git a/server.py b/server.py index 36ebc5a60ab56016d15672b756c522b7f2cc1fd1..b0737245340f829947a37acdfa4a78ce477953f7 100644 --- a/server.py +++ b/server.py @@ -550,7 +550,7 @@ def auth(): #pylint: disable=too-many-branches return Response("Login required", 401, {'WWW-Authenticate': 'Basic realm="Login Required"'}) return "Not allowed", 403 -@app.route('/files/<filename>') +@app.route('/files/<path:filename>') def files(filename): if config.get("S3_ACCESS_KEY") and config.get("S3_SECRET_KEY"): s3_client = b3_session.client('s3', endpoint_url=config["S3_ENDPOINT"])