https://discord.umbraco.com logo
are you getting anything else ? in the
# umbraco-chat
r
are you getting anything else ? in the system logs etc .. have you got any logging to make sure.. ie is it trying to traverse a path that doesn't think it exists.. . i was doing so me serch stuff which requred reading of PDF, , and one of the issues was paths.. not path permissions 9 alos worth checking) .. at the very least so you can rule that out as an issue
d
Ruled out path/permissions/Umbraco — the 400 comes from a rejectPathTraversal regex /^[a-zA-Z]:[\\/]/ in @Umbraco-cms/mcp-server-sdk (dist/index.js:627) that fires on any Windows drive path before mcp-dev's own UMBRACO_ALLOWED_MEDIA_PATHS allowlist ever runs. I just wanted to see if anyone had successfully done it before filing an issue
r
its not an uppercase lower casoe issue. in the path names.. thats an old unix - windows issue.. okay thats my lsat throw of th dice before an issue is thrown
d
Ooh good call Ravi, I'll check
Tried both — same rejection. Regex is /^[a-zA-Z]:[\\/]/ so it explicitly catches both cases. I can't be the only person on Windows who's tried to upload from local drive to the media library using the MCP server? maybe I'll give a shout in MVP just in case
Phil fixed this one Ravi - not released yet but I think it was Windows related it needed a different path format