mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-11 16:30:57 +00:00
Guard against path traversal and unexpected file types by validating logo paths start with 'logo/', have allowed image extensions, and contain no '..' or leading '/' segments. Amp-Thread-ID: https://ampcode.com/threads/T-019c083e-8ba0-7699-a5ff-63fd03e24391 Co-authored-by: Amp <amp@ampcode.com>