utools icon indicating copy to clipboard operation
utools copied to clipboard

Bug: 路径包含`\`无法打开项目

Open yanyongyu opened this issue 3 years ago • 2 comments

System: Linux

由于AD帐号名是 domain\user 的格式。当项目路径包含 \ 时,无法正确打开项目。

路径示例:

{
  "folderUri": "file:///media/domain%5Cusername/Projects/xxx"
}

yanyongyu avatar Aug 23 '22 05:08 yanyongyu

本地使用 code 命令可以打开么,这个我无法进行复现,或者使用 code 命令怎么样可以打开

mohuishou avatar Oct 18 '22 04:10 mohuishou

测试用 code --folder-uri "file:///media/domain%5Cusername/Projects/xxx", code --folder-uri "file:///media/domain\\username/Projects/xxx"可以打开,但插件不行,也许是url encode或者\转义的问题

image

yanyongyu avatar Oct 19 '22 11:10 yanyongyu