aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-12 01:42:03 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-12 01:42:03 +0800
commitfc74307dec70e897af78e748703e88b27eb491e8 (patch)
tree5cf8a5798b004b1e4a8b2eb2000ffa632c7772ed
parente8810dfc5d84f5662cc9a508aef6fb16fcb0249e (diff)
downloadgsoc2013-evolution-fc74307dec70e897af78e748703e88b27eb491e8.tar
gsoc2013-evolution-fc74307dec70e897af78e748703e88b27eb491e8.tar.gz
gsoc2013-evolution-fc74307dec70e897af78e748703e88b27eb491e8.tar.bz2
gsoc2013-evolution-fc74307dec70e897af78e748703e88b27eb491e8.tar.lz
gsoc2013-evolution-fc74307dec70e897af78e748703e88b27eb491e8.tar.xz
gsoc2013-evolution-fc74307dec70e897af78e748703e88b27eb491e8.tar.zst
gsoc2013-evolution-fc74307dec70e897af78e748703e88b27eb491e8.zip
Quote the mailbox name as it may contain spaces. (imap_copy_message_to):
2000-10-11 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_move_message_to): Quote the mailbox name as it may contain spaces. (imap_copy_message_to): Same. svn path=/trunk/; revision=5853
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 0c868c7ae3..96b8802a0a 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2000-10-11 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * providers/imap/camel-imap-folder.c (imap_move_message_to): Quote
+ the mailbox name as it may contain spaces.
+ (imap_copy_message_to): Same.
+
2000-10-10 Chris Toshok <toshok@helixcode.com>
* providers/nntp/camel-nntp-store.c
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 21f4d3bfc2..31b5e23d93 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -442,7 +442,7 @@ imap_copy_message_to (CamelFolder *source, const char *uid,
char *folder_path;
folder_path = camel_imap_store_folder_path (store, destination->full_name);
- response = camel_imap_command (store, source, ex, "UID COPY %s %s",
+ response = camel_imap_command (store, source, ex, "UID COPY %s \"%s\"",
uid, folder_path);
camel_imap_response_free (response);
g_free (folder_path);
@@ -458,7 +458,7 @@ imap_move_message_to (CamelFolder *source, const char *uid,
char *folder_path;
folder_path = camel_imap_store_folder_path (store, destination->full_name);
- response = camel_imap_command (store, source, ex, "UID COPY %s %s",
+ response = camel_imap_command (store, source, ex, "UID COPY %s \"%s\"",
uid, folder_path);
camel_imap_response_free (response);
g_free (folder_path);