Sanaei
f527cfd03a
fix: harden getStoragePath and keep CRLF endings
...
- 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.
2026-09-04 17:47:43 +02:00
Sanaei
2336dbc41f
Merge remote-tracking branch 'origin/master' into pr/49871
...
# Conflicts:
# tests/commands/playlist/format.test.ts
2026-09-04 17:30:25 +02:00
chen zhihao and GitHub
c5e24196b1
fix: keep malformed URLs during normalization ( #49870 )
2026-09-04 17:13:08 +02:00
chen zhihao
5062505330
fix: handle formatter paths relative to workspace
2026-09-01 10:58:12 +08:00
chen zhihao
de096ff4a8
fix: address nested playlist review feedback
2026-09-01 10:53:47 +08:00
chen zhihao
e7e21e166c
fix: reject formatter paths outside storage
2026-08-31 20:52:37 +08:00
chen zhihao
1b6b7db25a
fix: preserve nested playlist paths when formatting
2026-08-31 20:52:37 +08:00
freearhey
c8811c58ee
Update utils.ts
2026-08-17 01:34:43 +03:00
freearhey
34a557a4e5
Update scripts
2026-08-15 03:01:38 +03:00
freearhey
377035b66a
Update utils.ts
2026-05-02 13:47:26 +03:00
freearhey
8f7940c8ca
wip
2026-05-02 13:29:34 +03:00
freearhey
6826742c6b
wip
2026-05-02 12:26:32 +03:00
freearhey
59133e92e8
Update scripts
2026-04-12 08:46:28 +03:00
freearhey
1ebefa6992
Update utils.ts
2026-03-25 12:20:19 +03:00
freearhey
273816b9a3
Update utils.ts
2026-03-23 17:13:15 +03:00
freearhey
e79445e28d
Update utils.ts
2026-03-11 07:08:24 +03:00
freearhey
ad2c83e333
Update scripts
2025-10-08 21:25:22 +03:00
theofficialomega
048e663114
ditch old packages for native JS alternatives
2025-08-02 12:38:31 +02:00
freearhey
7129030382
Update scripts
2025-07-20 01:05:26 +03:00