[dovecot-cvs] dovecot/src/imap cmd-list.c,1.24,1.25 cmd-status.c,1.11,1.12

cras at procontrol.fi cras at procontrol.fi
Mon Jun 23 22:22:50 EEST 2003


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv22150/imap

Modified Files:
	cmd-list.c cmd-status.c 
Log Message:
LIST and STATUS replies shouldn't strip tabs and spaces from mailbox names.



Index: cmd-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- cmd-list.c	4 Jun 2003 16:35:11 -0000	1.24
+++ cmd-list.c	23 Jun 2003 18:22:48 -0000	1.25
@@ -166,7 +166,7 @@
 			str = t_str_new(256);
 			str_printfa(str, "* %s (%s) \"%s\" ",
 				    ctx->response_name, flagstr, ctx->sep);
-			imap_quote_append_string(str, send_name);
+			imap_quote_append_string(str, send_name, FALSE);
 			client_send_line(ctx->client, str_c(str));
 			t_pop();
 		}
@@ -228,7 +228,7 @@
 		if (strcasecmp(list->name, "INBOX") == 0)
 			str_append(str, "INBOX");
 		else
-			imap_quote_append_string(str, list->name);
+			imap_quote_append_string(str, list->name, FALSE);
 		client_send_line(client, str_c(str));
 		t_pop();
 	}

Index: cmd-status.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/cmd-status.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cmd-status.c	2 Apr 2003 02:05:38 -0000	1.11
+++ cmd-status.c	23 Jun 2003 18:22:48 -0000	1.12
@@ -111,7 +111,7 @@
 
 	str = t_str_new(128);
 	str_append(str, "* STATUS ");
-        imap_quote_append_string(str, mailbox);
+        imap_quote_append_string(str, mailbox, FALSE);
 	str_append(str, " (");
 
 	if (items & STATUS_MESSAGES)



More information about the dovecot-cvs mailing list