Files
OpenHands/src
Rohit Malhotraandopenhands 38121aaf2f fix: normalize path separators in no-direct-agent-server-calls test for Windows (#488)
On Windows, path.relative() returns backslash-separated paths, but
ALLOWED_AD_HOC_HTTP_FILES uses forward slashes. The Set.has() check
therefore never matches on Windows, causing false positive violations.

Normalize relPath to forward slashes before the check so the test
passes correctly on all platforms.

Co-authored-by: openhands <openhands@all-hands.dev>
2026-05-15 14:42:45 -04:00
..