mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-07 03:52:32 +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> |
||
|---|---|---|
| .. | ||
| api | ||
| database | ||
| services | ||
| helpers.py | ||
| scanner.py | ||