From 6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 9 Sep 2009 10:51:14 +0300 Subject: ephy-profile-migration: stript URIs from whitespace before validating libsoup is unhappy with trailing whitespace in some situations. --- src/ephy-profile-migration.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ephy-profile-migration.c') diff --git a/src/ephy-profile-migration.c b/src/ephy-profile-migration.c index 777e8e677..3acf60627 100644 --- a/src/ephy-profile-migration.c +++ b/src/ephy-profile-migration.c @@ -213,6 +213,7 @@ parse_and_decrypt_signons (const char *signons) start_ptr = g_strstr_len (full_url, -1, realmBracketBegin); start = g_utf8_pointer_to_offset (full_url, start_ptr); url = _g_utf8_substr (full_url, 0, start); + url = g_strstrip (url); uri = soup_uri_new (url); g_free (url); -- cgit v1.2.3