Repository navigation
Commit f6a2927
committed
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 <martin.vogel.tech@gmail.com>1 parent 9ef7da8 commit f6a2927
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17532 | 17532 | | |
17533 | 17533 | | |
17534 | 17534 | | |
| 17535 | + | |
| 17536 | + | |
| 17537 | + | |
| 17538 | + | |
17535 | 17539 | | |
17536 | 17540 | | |
17537 | | - | |
| 17541 | + | |
17538 | 17542 | | |
17539 | 17543 | | |
17540 | 17544 | | |
| |||
0 commit comments