mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-07 12:02:37 +08:00
Catch ValueError from resolve_destination_from_tags in the upload endpoint so that invalid path components like '..' return a 400 BAD_REQUEST error instead of falling through to the 500 handler. Amp-Thread-ID: https://ampcode.com/threads/T-019c2af2-7c87-7263-88b0-9feca1c31b3c Co-authored-by: Amp <amp@ampcode.com> |
||
|---|---|---|
| .. | ||
| routes.py | ||
| schemas_in.py | ||
| schemas_out.py | ||
| upload.py | ||