Microsoft/vscode

Git Clone - local folder with space. Problem with path. Escapes "space" to %20

Open

#267,471 建立於 2025年9月19日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)TypeScript (10,221 fork)batch import
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:

  1. Start VSCode.
  2. Click "Clone Git Repository"
  3. Input repo on local folder with the space: e.g "/users/test/Application Support/mnt/repo/XYZ"
  4. Select where the repo should go...
  5. 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

貢獻者指南