eventlog: don't even try to open empty urls

This commit is contained in:
Hylke Bons 2012-10-21 21:28:38 +01:00
parent 9601506d31
commit 236dfb12f9

View file

@ -231,6 +231,9 @@ namespace SparkleShare {
public void LinkClicked (string url)
{
if (!url.StartsWith ("about:") || string.IsNullOrEmpty (url))
return;
url = url.Replace ("%20", " ");
if (url.StartsWith ("http")) {