/**
* folders_rename_do.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Does the actual renaming of files on the IMAP server.
exit;
}
+$orig = imap_utf7_encode_local($orig);
+$old_name = imap_utf7_encode_local($old_name);
+$new_name = imap_utf7_encode_local($new_name);
+
if ($old_name <> $new_name) {
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);