Repository navigation
Commit a7eae3d
fix(mcp): normalize the autoindex.skip root path in diagnostics (DeusData#713)
The autoindex over-limit skip warning logged `root=` with the raw
srv->session_root, which on Windows carries backslashes. The DeusData#713 guard test
autoindex_limit_guards_non_git_root_issue713 asserts the warning names the
skipped root via strstr(root, "/repo"), so it failed on the Windows CLANG64
(x86_64) leg where the path is `...\repo`. Normalize the logged root to
forward slashes with cbm_normalize_path_sep() (a no-op on POSIX), matching
cbm's forward-slash path convention used everywhere else in the graph and MCP
output; the diagnostic is now identical across platforms. Production-side fix,
not a test relaxation.
Signed-off-by: Martin Vogel <[email protected]>1 parent 2de3309 commit a7eae3d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17576 | 17576 | | |
17577 | 17577 | | |
17578 | 17578 | | |
| 17579 | + | |
| 17580 | + | |
| 17581 | + | |
| 17582 | + | |
17579 | 17583 | | |
17580 | 17584 | | |
17581 | | - | |
| 17585 | + | |
17582 | 17586 | | |
17583 | 17587 | | |
17584 | 17588 | | |
| |||
0 commit comments