aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-09-10 01:54:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-09-10 01:54:59 +0800
commit1aba02dd7c98f34e0539d2b3279363511365c2d4 (patch)
tree8d8367ceea78a9f05186b856bcafb047131685db
parent34fbdf1c779d47615d961fe2d76ac243ce26a40d (diff)
downloadgsoc2013-evolution-1aba02dd7c98f34e0539d2b3279363511365c2d4.tar.gz
gsoc2013-evolution-1aba02dd7c98f34e0539d2b3279363511365c2d4.tar.zst
gsoc2013-evolution-1aba02dd7c98f34e0539d2b3279363511365c2d4.zip
Don't look for an end quote, instead look for </item> to terminate the
2002-09-09 Jeffrey Stedfast <fejj@ximian.com> * 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. svn path=/trunk/; revision=18022
-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;