Commit cb15e48
Fix citation validator missing backslash-rooted paths on POSIX
The absolute-path rejection relied on path.isAbsolute(), which is
platform-dependent: on Linux, backslash-rooted paths like \src\a.ts are
not considered absolute, so Windows-generated artifacts with such evidence
paths slipped past validation when the server runs on POSIX. Drive
prefixes (C:/) were already covered by DRIVE_PREFIX; this adds the
explicit leading-backslash check.
Caught by CI on ubuntu (tests pass on Windows); verified on both Windows
and Linux Node 22 before pushing.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent ed587c2 commit cb15e48
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments