IMAP: fix 2962071, quote folder names in STATUS response

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@970 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-03-22 13:29:11 +00:00
parent 3fd51ae302
commit 266632480d
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ public class ImapConnection extends AbstractConnection {
answer.append("UNSEEN ").append(folder.unreadCount).append(' ');
}
}
sendClient("* STATUS " + encodedFolderName + " (" + answer.toString().trim() + ')');
sendClient("* STATUS \"" + encodedFolderName + "\" (" + answer.toString().trim() + ')');
sendClient(commandId + " OK " + command + " completed");
} catch (HttpException e) {
sendClient(commandId + " NO folder not found");