Spawn commands with about: arguments like URIs
This commit is contained in:
parent
6582ae6d10
commit
c712758ed3
1 changed files with 2 additions and 1 deletions
|
@ -420,7 +420,8 @@ sokoke_spawn_program (const gchar* command,
|
||||||
g_return_val_if_fail (command != NULL, FALSE);
|
g_return_val_if_fail (command != NULL, FALSE);
|
||||||
g_return_val_if_fail (argument != 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;
|
gboolean success;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue