sokoke_external_uri should return FALSE for non-URIs

In particular search key words.
This commit is contained in:
Christian Dywan 2010-10-21 20:45:12 +02:00
parent 936758afdc
commit 9f30695ca3

View file

@ -749,6 +749,9 @@ sokoke_external_uri (const gchar* uri)
return FALSE;
scheme = g_uri_parse_scheme (uri);
if (!scheme)
return FALSE;
info = g_app_info_get_default_for_uri_scheme (scheme);
g_free (scheme);
if (info)