From 2a1a987ae0deea9fcc86c7adaa33eb514e6873d1 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Mon, 8 Mar 2010 20:31:25 -0500 Subject: migration: don't store a trailing ) in realm Realms where exported as "realm)" because of a missing -1. Bug #608687 --- lib/ephy-profile-migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ephy-profile-migration.c b/lib/ephy-profile-migration.c index 01a4a20f7..857d4a491 100644 --- a/lib/ephy-profile-migration.c +++ b/lib/ephy-profile-migration.c @@ -224,7 +224,7 @@ parse_and_decrypt_signons (const char *signons, g_free (url); start += strlen (realmBracketBegin); - end_ptr = g_strstr_len (full_url, -1, realmBracketEnd); + end_ptr = g_strstr_len (full_url, -1, realmBracketEnd) -1; end = g_utf8_pointer_to_offset (full_url, end_ptr); realm = _g_utf8_substr (full_url, start, end); -- cgit v1.2.3