fix: support encoded url in remote (#938)

This commit is contained in:
GadflyFang 2025-02-06 10:22:01 +08:00 committed by GitHub
parent 018a32b95b
commit 84533599f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -152,7 +152,7 @@ namespace SourceGit.Native
public void OpenBrowser(string url)
{
var info = new ProcessStartInfo("cmd", $"/c start {url}");
var info = new ProcessStartInfo("cmd", $"/c start \"\" \"{url}\"");
info.CreateNoWindow = true;
Process.Start(info);
}