ComfyUI/tests-unit/execution_test
Matt Miller f91e3416b6 fix(assets): reject path traversal when resolving output abs_path
Subfolder/filename were joined and absolutized without containment check,
so '..' segments or an absolute filename could escape the type's base
directory and register an unrelated on-disk file as an asset.

Add commonpath-based containment check; skip enrichment (warn, leave
entry unchanged) when the resolved path escapes base. Catches ValueError
from cross-drive paths on Windows.
2026-05-20 11:06:38 -07:00
..
preview_method_override_test.py feat(preview): add per-queue live preview method override (#11261) 2025-12-15 15:57:39 -08:00
test_cache_provider.py Revert "Revert "feat: Add CacheProvider API for external distributed caching"" (#12915) 2026-03-12 21:17:50 -07:00
test_enrich_output.py fix(assets): reject path traversal when resolving output abs_path 2026-05-20 11:06:38 -07:00
validate_node_input_test.py Reland union type (#5900) 2024-12-04 15:12:10 -05:00