Microsoft/vscode
在 GitHub 查看Git Clone - local folder with space. Problem with path. Escapes "space" to %20
Open
#267,471 创建于 2025年9月19日
buggithelp wantedteam-low-hanging
仓库指标
- Star
- (74,848 star)
- PR 合并指标
- (平均合并 14小时 20分钟) (30 天内合并 999 个 PR)
描述
Does this issue occur when all extensions are disabled?: Yes/No YES
- VS Code Version: Version: 1.104.1 (user setup) Date: 2025-09-17T23:36:24.973Z Electron: 37.3.1 ElectronBuildId: 12404162 Chromium: 138.0.7204.235 Node.js: 22.18.0 V8: 13.8.258.31-electron.0
- OS Version: MacOS
Steps to Reproduce:
- Start VSCode.
- Click "Clone Git Repository"
- Input repo on local folder with the space: e.g "/users/test/Application Support/mnt/repo/XYZ"
- Select where the repo should go...
- Error. VSCode escapes the "space" with "%20"... if you put the path in quotes or double quoutes VSCode adds it's own so it is messed up even more