ComfyUI/tests-unit/server_test
Varun Chawla ae575a8670
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-02-19 23:50:28 -08:00
..
test_cache_control.py dont cache new locale entry points (#10101) 2025-09-29 12:16:02 -07:00
test_view_endpoint.py security: handle Windows backslash path traversal in filename validation 2026-02-19 23:50:28 -08:00