[epiphany] ephy-location-action.c: strip whitespace from URLs before loading.



commit 1d49b43e4da3c5153a444596b24340d40ad98d31
Author: Holger Hans Peter Freyther <zecke selfish org>
Date:   Wed Jun 3 11:26:51 2009 +0300

    ephy-location-action.c: strip whitespace from URLs before loading.
    
    Bug #584466
---
 src/ephy-location-action.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index cda3a11..f2b8ca2 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]