controller: Fix opening links with spaces in them

This commit is contained in:
Hylke Bons 2012-02-20 00:38:21 +01:00
parent f5b99229b9
commit 4740e8075b

View file

@ -198,7 +198,7 @@ namespace SparkleShare {
{ {
Process process = new Process (); Process process = new Process ();
process.StartInfo.FileName = "xdg-open"; process.StartInfo.FileName = "xdg-open";
process.StartInfo.Arguments = url.Replace (" ", "%20"); process.StartInfo.Arguments = "\"" + url + "\"";
process.Start (); process.Start ();
} }
} }