mirror of
https://github.com/iptv-org/iptv
synced 2026-09-06 12:01:57 -04:00
- Normalize the returned path to forward slashes so it matches what Storage.list() (glob) returns, instead of leaking `\` on Windows. - Treat the storage root itself as "not inside", so passing a directory no longer yields an empty path that Storage.load() would open as a dir. - Extract the containment check into isInsideDirectory() and drop the redundant isAbsolute(filepath) branch (path.resolve already handles it). - Restore the repository's CRLF line endings in the nested fixture.