controller: Fix opening links with spaces in them
This commit is contained in:
parent
f5b99229b9
commit
4740e8075b
|
@ -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 ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue