From 1d49b43e4da3c5153a444596b24340d40ad98d31 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 3 Jun 2009 11:26:51 +0300 Subject: ephy-location-action.c: strip whitespace from URLs before loading. Bug #584466 --- src/ephy-location-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ephy-location-action.c') diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c index cda3a117b..f2b8ca2cc 100644 --- a/src/ephy-location-action.c +++ b/src/ephy-location-action.c @@ -198,7 +198,7 @@ entry_activate_cb (GtkEntry *entry, address = ephy_bookmarks_resolve_address (bookmarks, content, NULL); g_return_if_fail (address != NULL); - ephy_link_open (EPHY_LINK (action), address, NULL, + ephy_link_open (EPHY_LINK (action), g_strstrip (address), NULL, ephy_link_flags_from_current_event () | EPHY_LINK_ALLOW_FIXUP); g_free (address); -- cgit v1.2.3