aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-location-action.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-06-03 16:26:51 +0800
committerXan Lopez <xan@gnome.org>2009-06-03 16:26:51 +0800
commit1d49b43e4da3c5153a444596b24340d40ad98d31 (patch)
treeb43cf7596da40f244af9766682fe00b545c97c0c /src/ephy-location-action.c
parent218dbe9135658080697a7b984a6791d1b96ee996 (diff)
downloadgsoc2013-epiphany-1d49b43e4da3c5153a444596b24340d40ad98d31.tar.gz
gsoc2013-epiphany-1d49b43e4da3c5153a444596b24340d40ad98d31.tar.zst
gsoc2013-epiphany-1d49b43e4da3c5153a444596b24340d40ad98d31.zip
ephy-location-action.c: strip whitespace from URLs before loading.
Bug #584466
Diffstat (limited to 'src/ephy-location-action.c')
-rw-r--r--src/ephy-location-action.c2
1 files changed, 1 insertions, 1 deletions
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);