mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-13 13:05:07 +00:00
Validate that model subdirectory cannot contain relative paths.
This commit is contained in:
@@ -561,7 +561,7 @@ class PromptServer():
|
||||
|
||||
return web.Response(status=200)
|
||||
|
||||
@routes.post("/download")
|
||||
@routes.post("/models/download")
|
||||
async def download_handler(request):
|
||||
async def report_progress(filename: str, status: DownloadStatus):
|
||||
await self.send_json("download_progress", {
|
||||
|
Reference in New Issue
Block a user