diff --git a/autoindex.py b/autoindex.py index 5d8f383..99bff9a 100644 --- a/autoindex.py +++ b/autoindex.py @@ -24,6 +24,7 @@ j2env = get_j2env(DEBUG) @app.get(r'/') async def index(request: Request, path=''): + path = path.replace('%20', ' ') domain = request.host query = f'?{request.query_string}' if request.query_string else ''