diff options
author | Milan Crha <mcrha@redhat.com> | 2014-07-28 17:29:17 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-07-28 17:29:17 +0800 |
commit | b2096647958179906a4ff88c1ed0f58f160cc2dd (patch) | |
tree | ea60c495e9fff3700f2d2366e6ed9f8ef4e762f1 | |
parent | b37785366c8fc4039c7d481797441058bdd8b259 (diff) | |
download | gsoc2013-evolution-b2096647958179906a4ff88c1ed0f58f160cc2dd.tar gsoc2013-evolution-b2096647958179906a4ff88c1ed0f58f160cc2dd.tar.gz gsoc2013-evolution-b2096647958179906a4ff88c1ed0f58f160cc2dd.tar.bz2 gsoc2013-evolution-b2096647958179906a4ff88c1ed0f58f160cc2dd.tar.lz gsoc2013-evolution-b2096647958179906a4ff88c1ed0f58f160cc2dd.tar.xz gsoc2013-evolution-b2096647958179906a4ff88c1ed0f58f160cc2dd.tar.zst gsoc2013-evolution-b2096647958179906a4ff88c1ed0f58f160cc2dd.zip |
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.
-rw-r--r-- | libemail-engine/e-mail-folder-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |