/plugin marketplace add fails to find git when username contains a non-ASCII character (Windows)ya i

Open 💬 0 comments Opened Jul 13, 2026 by mancillaabara

Environment

  • OS: Windows 11 Pro 10.0.26200
  • Shell: PowerShell 5.1
  • Git: 2.55.0.windows.2 (installed, on PATH, works normally in shell)
  • User profile path contains a non-ASCII character: C:\Users\AlvaroMancillaAbara (with accented A)

Steps to reproduce

  1. On a Windows account whose profile directory name contains an accented/non-ASCII character (e.g. the A)
  2. Run /plugin marketplace add <owner>/<repo>

Expected
Git is found and the marketplace repo is cloned normally.

Actual

Error: Failed to clone marketplace repository: Command 'git' not found or is in an unsafe location (current directory)

Diagnostics

  • git --version in a normal PowerShell session works fine: git version 2.55.0.windows.2
  • (Get-Command git).Source resolves to a path under the accented profile directory AppData\Local\Programs\Git\cmd\git.exe
  • A legacy 8.3 short path exists for the profile, so it is not a missing-short-name issue
  • Suspect the plugin marketplace's git-path resolution/validation (likely a Node.js child_process spawn or an allow-listed-path check) is mishandling the non-ASCII character in the reausing it to be flagged as "not found" or "unsafe" even though it is a normal, valid Git for Windows install.

Impact
Blocks `/pluginirely for any Windows user whose account/profile name contains non-ASCII characters.

View original on GitHub ↗