summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/func.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-12 13:05:18 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-12 13:05:18 +0000
commit4581ff9118521aa2ed59b3096d75c87b929ab1dc (patch)
tree0bea149090129e2b1fd3bef4685e1641e304a7b6 /roundcubemail/program/steps/mail/func.inc
parent7f3f42380c06e248bd314b67d0eaad54c21884ba (diff)
- Fix handling of folders with "<>" characters in name
git-svn-id: https://svn.roundcube.net/trunk@4219 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/func.inc')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index be5c26142..747dce529 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -46,7 +46,7 @@ if (!in_array($RCMAIL->action, $NOIMAP_ACTIONS) && !$RCMAIL->imap_connect()) {
}
// set imap properties and session vars
-if (strlen(trim($mbox = get_input_value('_mbox', RCUBE_INPUT_GPC))))
+if (strlen(trim($mbox = get_input_value('_mbox', RCUBE_INPUT_GPC, true))))
$IMAP->set_mailbox(($_SESSION['mbox'] = $mbox));
else if ($IMAP)
$_SESSION['mbox'] = $IMAP->get_mailbox_name();