[Xfce4-commits] <midori:master> Don't regard file URIs as external

Christian Dywan noreply at xfce.org
Sun Oct 31 22:50:01 CET 2010


Updating branch refs/heads/master
         to f2ca46163893e4c6154738d572a0fc5de780a7a0 (commit)
       from a4715ad4c7f73c1c4cb261419be594e9defcd13a (commit)

commit f2ca46163893e4c6154738d572a0fc5de780a7a0
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Oct 31 22:42:15 2010 +0100

    Don't regard file URIs as external

 midori/sokoke.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/midori/sokoke.c b/midori/sokoke.c
index 133de3c..962eb58 100644
--- a/midori/sokoke.c
+++ b/midori/sokoke.c
@@ -746,6 +746,7 @@ sokoke_external_uri (const gchar* uri)
     GAppInfo* info;
 
     if (!uri || !strncmp (uri, "http", 4)
+             || !strncmp (uri, "file", 4)
              || !strncmp (uri, "about:", 6))
         return FALSE;
 



More information about the Xfce4-commits mailing list