bugfix foldingThread; Renaming a foldername with a space was not correctly handled

This commit is contained in:
Alexandre Cloutier
2014-09-09 15:29:08 -04:00
parent e542ff5646
commit f3ca4ea7fc

View File

@@ -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)
{