From: Christian Dywan Date: Wed, 5 Jan 2011 18:13:18 +0000 (+0100) Subject: Spawn commands with about: arguments like URIs X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c712758ed3967b020e8b5a3653e898cd9665e03a;p=midori Spawn commands with about: arguments like URIs --- diff --git a/midori/sokoke.c b/midori/sokoke.c index 962eb589..055ebddb 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -420,7 +420,8 @@ sokoke_spawn_program (const gchar* command, g_return_val_if_fail (command != NULL, FALSE); g_return_val_if_fail (argument != NULL, FALSE); - if (!g_strstr_len (argument, 8, "://")) + if (!g_strstr_len (argument, 8, "://") + && !g_str_has_prefix (argument, "about:")) { gboolean success;