aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-11-02 13:00:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-02 13:00:28 +0800
commit91eae33bdc96da7731efb691cd53f05317618945 (patch)
tree05c8fccc120ffadbb2bfcf1c42f38b7ad047a29f
parent18cee24a50b93f4b6b7c053a54a1ec90bf22b69e (diff)
downloadgsoc2013-evolution-91eae33bdc96da7731efb691cd53f05317618945.tar.gz
gsoc2013-evolution-91eae33bdc96da7731efb691cd53f05317618945.tar.zst
gsoc2013-evolution-91eae33bdc96da7731efb691cd53f05317618945.zip
Quote foldernames when sending to the IMAP server because the folder name
2000-11-02 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-store.c (get_folder_info): Quote foldernames when sending to the IMAP server because the folder name might contain spaces. svn path=/trunk/; revision=6344
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-store.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index bed9e12de9..80d6cdb807 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2000-11-02 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * providers/imap/camel-imap-store.c (get_folder_info): Quote
+ foldernames when sending to the IMAP server because the folder
+ name might contain spaces.
+
2000-11-02 Not Zed <NotZed@HelixCode.com>
* Merged in camel-incremental-branch.
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index c42024bd5f..904bd6bc37 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -701,7 +701,7 @@ get_folder_info (CamelStore *store, const char *top, gboolean fast,
response = camel_imap_command (
imap_store, NULL, NULL,
- "STATUS %s (MESSAGES UNSEEN)",
+ "STATUS \"%s\" (MESSAGES UNSEEN)",
fi->full_name);
if (!response)
continue;