allow spaces in filenames

master
bakatrouble 9 months ago
parent c145919877
commit 8263c0f78b

@ -24,6 +24,7 @@ j2env = get_j2env(DEBUG)
@app.get(r'/<path:.*/?>')
async def index(request: Request, path=''):
path = path.replace('%20', ' ')
domain = request.host
query = f'?{request.query_string}' if request.query_string else ''

Loading…
Cancel
Save