[Bug 142937] KMail crashes when attempting to create folder with slash in its name
Andreas Veithen
andreas.veithen at skynet.be
Wed Mar 21 20:15:34 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=142937
------- Additional Comments From andreas.veithen skynet be 2007-03-21 21:15 -------
The following patch should solve the problem. It makes sure that for disconnected IMAP accounts, slashes in folder names are forbidden.
--- kmail/newfolderdialog.cpp.org 2007-03-21 20:12:49.657858562 +0100
+++ kmail/newfolderdialog.cpp 2007-03-21 20:13:53.386165175 +0100
@ -194,6 +194,5 @
if ( fldName.find( '/' ) != -1 &&
( !mFolder ||
- ( mFolder->folderType() != KMFolderTypeImap &&
- mFolder->folderType() != KMFolderTypeCachedImap ) ) ) {
+ mFolder->folderType() != KMFolderTypeImap ) ) {
KMessageBox::error( this, i18n( "Folder names cannot contain the / (slash) character; please choose another folder name." ) );
return;
More information about the Kdepim-bugs
mailing list