Microsoft/vscode

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

Open

#267.471 aperta il 19 set 2025

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)TypeScript (10.221 fork)batch import
buggithelp wantedteam-low-hanging

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 14h 20m) (999 PR mergiate in 30 g)

Descrizione

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

Guida contributor