From: Michael M Slusarz Date: Wed, 5 Aug 2009 07:44:28 +0000 (-0600) Subject: Bug #8468: Doing too much magic on rename folder name - we have to trust the X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8b659fe604f4a3a6af9ea1509029198bdaafa4e3;p=horde.git Bug #8468: Doing too much magic on rename folder name - we have to trust the user at some point. --- 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;