ComfyUI/tests-unit/server_test
Varun Chawla 95c511e167
security: handle Windows backslash path traversal in filename validation
Normalize backslashes to forward slashes before checking for path
traversal patterns, preventing attacks like `folder\..\secret` that
bypass forward-slash-only checks on Windows. Addresses review feedback
from light-and-ray on PR #12353.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 22:18:30 -07:00
..
test_cache_control.py fix: use no-store cache headers to prevent stale frontend chunks (#12911) 2026-03-14 18:25:09 -04:00
test_view_endpoint.py security: handle Windows backslash path traversal in filename validation 2026-03-17 22:18:30 -07:00