Normalize INBOX name when creating/renaming folders (fixes #1636)

This commit is contained in:
mdecimus
2025-06-08 09:26:36 +02:00
parent 10e932a43a
commit d4ec6e32b3
3 changed files with 45 additions and 36 deletions

View File

@@ -109,7 +109,7 @@ pub async fn test(mut imap: &mut ImapConnection, mut imap_check: &mut ImapConnec
imap.assert_read(Type::Tagged, ResponseType::Ok).await;
imap.send("RENAME \"Tofu\" \"INBOX\"").await;
imap.assert_read(Type::Tagged, ResponseType::No).await;
imap.send("RENAME \"Tofu\" \"INBOX/Tofu\"").await;
imap.send("RENAME \"Tofu\" \"Inbox/Tofu\"").await;
imap.assert_read(Type::Tagged, ResponseType::Ok).await;
imap.send("RENAME \"Deleted Items\" \"Recycle Bin\"").await;
imap.assert_read(Type::Tagged, ResponseType::Ok).await;