summaryrefslogtreecommitdiff
path: root/program/steps/mail/copy.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-11-12 13:05:18 +0000
committeralecpl <alec@alec.pl>2010-11-12 13:05:18 +0000
commitb72e2f9a1745d4f733313a15ac7d170dc80bb069 (patch)
treea58da4bc3afb17b9eaaea4941dd4ffac8cdebb7a /program/steps/mail/copy.inc
parent74cd6cced6290d43a18745d732b7bdf58f02fe3e (diff)
- Fix handling of folders with "<>" characters in name
Diffstat (limited to 'program/steps/mail/copy.inc')
-rw-r--r--program/steps/mail/copy.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/copy.inc b/program/steps/mail/copy.inc
index 82a1ed4a7..4cd51d816 100644
--- a/program/steps/mail/copy.inc
+++ b/program/steps/mail/copy.inc
@@ -26,8 +26,8 @@ if (!$OUTPUT->ajax_call)
// move messages
if (!empty($_POST['_uid']) && !empty($_POST['_target_mbox'])) {
$uids = get_input_value('_uid', RCUBE_INPUT_POST);
- $target = get_input_value('_target_mbox', RCUBE_INPUT_POST);
- $mbox = get_input_value('_mbox', RCUBE_INPUT_POST);
+ $target = get_input_value('_target_mbox', RCUBE_INPUT_POST, true);
+ $mbox = get_input_value('_mbox', RCUBE_INPUT_POST, true);
$copied = $IMAP->copy_message($uids, $target, $mbox);