aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-09-09 15:51:14 +0800
committerXan Lopez <xan@gnome.org>2009-09-09 15:54:43 +0800
commit6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9 (patch)
treee2fa27536bbed93ad9dab164779c32154c15c3fa /src
parentbe2dcb8174d199d25d75ef382df81e663e7fe6c7 (diff)
downloadgsoc2013-epiphany-6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9.tar
gsoc2013-epiphany-6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9.tar.gz
gsoc2013-epiphany-6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9.tar.bz2
gsoc2013-epiphany-6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9.tar.lz
gsoc2013-epiphany-6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9.tar.xz
gsoc2013-epiphany-6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9.tar.zst
gsoc2013-epiphany-6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9.zip
ephy-profile-migration: stript URIs from whitespace before validating
libsoup is unhappy with trailing whitespace in some situations.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-profile-migration.c1
1 files changed, 1 insertions, 0 deletions
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);