[epiphany] ephy-profile-migration: stript URIs from whitespace before validating
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-profile-migration: stript URIs from whitespace before validating
- Date: Wed, 9 Sep 2009 07:55:13 +0000 (UTC)
commit 6b91fd41a0e3c8a9c217e7bd2fd1232a39f977a9
Author: Xan Lopez <xan gnome org>
Date: Wed Sep 9 10:51:14 2009 +0300
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-profile-migration.c b/src/ephy-profile-migration.c
index 777e8e6..3acf606 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]