From 8b659fe604f4a3a6af9ea1509029198bdaafa4e3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 5 Aug 2009 01:44:28 -0600 Subject: [PATCH] Bug #8468: Doing too much magic on rename folder name - we have to trust the user at some point. --- imp/folders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/folders.php b/imp/folders.php index ea395709b..8ddab4ade 100644 --- a/imp/folders.php +++ b/imp/folders.php @@ -194,7 +194,7 @@ case 'rename_folder': !empty($old_names) && ($iMax == count($old_names))) { for ($i = 0; $i < $iMax; ++$i) { - $imp_folder->rename(trim($old_names[$i], "\r\n"), Horde_String::convertCharset($imp_imap->appendNamespace(trim($new_names[$i], "\r\n")), $charset, 'UTF7-IMAP')); + $imp_folder->rename(trim($old_names[$i]), Horde_String::convertCharset(trim($new_names[$i]), $charset, 'UTF7-IMAP')); } } break; -- 2.11.0