Escape space in search pattern to match the history URL format
This commit is contained in:
parent
64fb6e8ee8
commit
cac6571371
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ gchar* sokoke_search_uri (const gchar* uri,
|
||||||
if (!uri)
|
if (!uri)
|
||||||
return g_strdup (keywords);
|
return g_strdup (keywords);
|
||||||
|
|
||||||
escaped = g_uri_escape_string (keywords, " :/", TRUE);
|
escaped = g_uri_escape_string (keywords, ":/", TRUE);
|
||||||
if (strstr (uri, "%s"))
|
if (strstr (uri, "%s"))
|
||||||
search = g_strdup_printf (uri, escaped);
|
search = g_strdup_printf (uri, escaped);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue