From f3ca4ea7fca3e2f2d8434914fba0dc9e397d7e1f Mon Sep 17 00:00:00 2001 From: Alexandre Cloutier Date: Tue, 9 Sep 2014 15:29:08 -0400 Subject: [PATCH] bugfix foldingThread; Renaming a foldername with a space was not correctly handled --- UI/MailerUI/UIxMailFolderActions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/MailerUI/UIxMailFolderActions.m b/UI/MailerUI/UIxMailFolderActions.m index 06f559cab..e04bf50bc 100644 --- a/UI/MailerUI/UIxMailFolderActions.m +++ b/UI/MailerUI/UIxMailFolderActions.m @@ -106,7 +106,7 @@ keyForMsgUIDs = [NSString stringWithFormat:@"/%@/%@", currentAccount, currentMailbox]; newFolderName = [[context request] formValueForKey: @"name"]; - newKeyForMsgUIDs = [NSString stringWithFormat:@"/%@/folder%@", currentAccount, newFolderName]; + newKeyForMsgUIDs = [[NSString stringWithFormat:@"/%@/folder%@", currentAccount, newFolderName] asCSSIdentifier]; error = [co renameTo: newFolderName]; if (error) {