aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-04 06:49:42 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-04 06:49:42 +0800
commitd23ef479891080fd65e88c21f4fbc5d85e9a560d (patch)
tree091ff223ea6a96165f90ca544f751974fd0e1148 /camel/providers/imap
parent6e713aeab6969705b5891274786d0a41a1f77726 (diff)
downloadgsoc2013-evolution-d23ef479891080fd65e88c21f4fbc5d85e9a560d.tar.gz
gsoc2013-evolution-d23ef479891080fd65e88c21f4fbc5d85e9a560d.tar.zst
gsoc2013-evolution-d23ef479891080fd65e88c21f4fbc5d85e9a560d.zip
Quote the mailbox name when sending a SELECT request otherwise mailboxes
2000-10-03 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-command.c (camel_imap_command): Quote the mailbox name when sending a SELECT request otherwise mailboxes with spaces in their names will cause problems. * camel-mime-message.c (camel_mime_message_set_reply_to): encode before setting. (camel_mime_message_set_from): Same. svn path=/trunk/; revision=5697
Diffstat (limited to 'camel/providers/imap')
-rw-r--r--camel/providers/imap/camel-imap-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c
index e06de34db4..70b6ea8149 100644
--- a/camel/providers/imap/camel-imap-command.c
+++ b/camel/providers/imap/camel-imap-command.c
@@ -71,7 +71,7 @@ camel_imap_command (CamelImapStore *store, CamelFolder *folder,
folder_path = camel_imap_store_folder_path (store,
folder->full_name);
response = camel_imap_command (store, NULL, ex,
- "SELECT %s", folder_path);
+ "SELECT \"%s\"", folder_path);
g_free (folder_path);
if (!response) {