Escape space in search pattern to match the history URL format

This commit is contained in:
Alexander Butenko 2010-07-20 14:18:58 -04:00 committed by Christian Dywan
parent 64fb6e8ee8
commit cac6571371

View file

@ -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