[Xfce4-commits] <midori:master> Don't regard about: URIs as external
Christian Dywan
noreply at xfce.org
Thu Oct 21 21:10:04 CEST 2010
Updating branch refs/heads/master
to 45ebf4dcdb5edbd6ea07408644915f9a8b42d8fc (commit)
from 9f30695ca396736fbe98ea39c38ed8ba37b8fe63 (commit)
commit 45ebf4dcdb5edbd6ea07408644915f9a8b42d8fc
Author: Paweł Forysiuk <tuxator at o2.pl>
Date: Thu Oct 21 20:49:24 2010 +0200
Don't regard about: URIs as external
midori/sokoke.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/midori/sokoke.c b/midori/sokoke.c
index bce377b..3ea06d2 100644
--- a/midori/sokoke.c
+++ b/midori/sokoke.c
@@ -745,7 +745,8 @@ sokoke_external_uri (const gchar* uri)
gchar* scheme;
GAppInfo* info;
- if (!uri || !strncmp (uri, "http", 4))
+ if (!uri || !strncmp (uri, "http", 4)
+ || !strncmp (uri, "about:", 6))
return FALSE;
scheme = g_uri_parse_scheme (uri);
More information about the Xfce4-commits
mailing list