From 1aba02dd7c98f34e0539d2b3279363511365c2d4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 9 Sep 2002 17:54:59 +0000 Subject: Don't look for an end quote, instead look for to terminate the 2002-09-09 Jeffrey Stedfast * upgrade-mailer.c (shortcuts_upgrade_xml_file): Don't look for an end quote, instead look for to terminate the uri. (shortcuts_upgrade_uri): Hex decode the imap folder name after we've constructed the final version of it. svn path=/trunk/; revision=18022 --- mail/ChangeLog | 2 ++ mail/upgrade-mailer.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 93a83341cc..751f50c53a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -2,6 +2,8 @@ * upgrade-mailer.c (shortcuts_upgrade_xml_file): Don't look for an end quote, instead look for to terminate the uri. + (shortcuts_upgrade_uri): Hex decode the imap folder name after + we've constructed the final version of it. 2002-09-08 Dan Winship diff --git a/mail/upgrade-mailer.c b/mail/upgrade-mailer.c index ff87eb11c5..7f62e654e5 100644 --- a/mail/upgrade-mailer.c +++ b/mail/upgrade-mailer.c @@ -616,7 +616,8 @@ shortcuts_upgrade_uri (GHashTable *accounts, GHashTable *imap_sources, const cha g_free (url); if (new) { - name = g_strdup (new + strlen (si->base_url) + 1); + name = new + strlen (si->base_url) + 1; + name = hex_decode (name, strlen (name)); g_free (new); return name; -- cgit v1.2.3