mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 23:44:11 +01:00
Update rom.py to Fix Filename error
This commit is contained in:
@@ -209,7 +209,7 @@ async def head_rom_content(
|
||||
media_type="application/octet-stream",
|
||||
headers={
|
||||
"Content-Disposition": f'attachment; filename="{quote(files_to_check[0])}"',
|
||||
"X-Accel-Redirect": f"/library/{rom.full_path}/{files_to_check[0]}",
|
||||
"X-Accel-Redirect": f"/library/{quote(rom.full_path)}/{quote(files_to_check[0])}",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user