From b2096647958179906a4ff88c1ed0f58f160cc2dd Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 28 Jul 2014 11:29:17 +0200 Subject: e_mail_folder_uri_build: Encode special characters in folder names Some of them could cause failures during folder open, while they are supported by the server as such. --- libemail-engine/e-mail-folder-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libemail-engine/e-mail-folder-utils.c b/libemail-engine/e-mail-folder-utils.c index 0461930962..bb0c3bbc95 100644 --- a/libemail-engine/e-mail-folder-utils.c +++ b/libemail-engine/e-mail-folder-utils.c @@ -1753,7 +1753,7 @@ e_mail_folder_uri_build (CamelStore *store, uid = camel_service_get_uid (CAMEL_SERVICE (store)); encoded_uid = camel_url_encode (uid, ":;@/"); - encoded_name = camel_url_encode (folder_name, "#"); + encoded_name = camel_url_encode (folder_name, ":;@?#"); uri = g_strdup_printf ("folder://%s/%s", encoded_uid, encoded_name); -- cgit v1.2.3