eventlog: don't even try to open empty urls
This commit is contained in:
parent
9601506d31
commit
236dfb12f9
|
@ -231,6 +231,9 @@ namespace SparkleShare {
|
||||||
|
|
||||||
public void LinkClicked (string url)
|
public void LinkClicked (string url)
|
||||||
{
|
{
|
||||||
|
if (!url.StartsWith ("about:") || string.IsNullOrEmpty (url))
|
||||||
|
return;
|
||||||
|
|
||||||
url = url.Replace ("%20", " ");
|
url = url.Replace ("%20", " ");
|
||||||
|
|
||||||
if (url.StartsWith ("http")) {
|
if (url.StartsWith ("http")) {
|
||||||
|
|
Loading…
Reference in a new issue