Microsoft/vscode

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

Open

#267,471 opened on 2025年9月19日

GitHub で見る
 (2 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
buggithelp wantedteam-low-hanging

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (平均マージ 14h 20m) (30d で 999 merged PRs)

説明

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

コントリビューターガイド