aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/upgrade-mailer.c3
2 files changed, 4 insertions, 1 deletions
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 </item> 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 <danw@ximian.com>
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;