Also strip search terms entered in the location entry
This commit is contained in:
parent
fd19d34410
commit
58d2b44316
1 changed files with 2 additions and 2 deletions
|
@ -2998,9 +2998,9 @@ _action_location_submit_uri (GtkAction* action,
|
|||
stripped_uri = g_strdup (uri);
|
||||
g_strstrip (stripped_uri);
|
||||
new_uri = sokoke_magic_uri (stripped_uri, browser->search_engines);
|
||||
g_free (stripped_uri);
|
||||
if (!new_uri)
|
||||
new_uri = sokoke_search_uri (browser->location_entry_search, uri);
|
||||
new_uri = sokoke_search_uri (browser->location_entry_search, stripped_uri);
|
||||
g_free (stripped_uri);
|
||||
|
||||
if (new_tab)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue