summaryrefslogtreecommitdiff
path: root/plugins/acl/acl.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-17 13:26:12 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-17 13:26:12 +0000
commit3f04effa0058c1132fdba316dc577c8e7e7fdc4a (patch)
tree57b6b9e30e71ec1fb54be182796396e5a0975bcd /plugins/acl/acl.php
parent7ea80e6aef508c3af27f60a8b59b095159d0c0b4 (diff)
- Fixed handling of folder names with unicode characters
git-svn-id: https://svn.roundcube.net/trunk@5084 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/acl/acl.php')
-rw-r--r--plugins/acl/acl.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php
index 33f84dbc3..1b021d00a 100644
--- a/plugins/acl/acl.php
+++ b/plugins/acl/acl.php
@@ -3,7 +3,7 @@
/**
* Folders Access Control Lists Management (RFC4314, RFC2086)
*
- * @version 0.5
+ * @version 0.6
* @author Aleksander Machniak <alec@alec.pl>
*
*
@@ -427,7 +427,7 @@ class acl extends rcube_plugin
*/
private function action_save()
{
- $mbox = trim(get_input_value('_mbox', RCUBE_INPUT_GPC, true, 'UTF7-IMAP'));
+ $mbox = trim(get_input_value('_mbox', RCUBE_INPUT_GPC, true)); // UTF7-IMAP
$user = trim(get_input_value('_user', RCUBE_INPUT_GPC));
$acl = trim(get_input_value('_acl', RCUBE_INPUT_GPC));
$oldid = trim(get_input_value('_old', RCUBE_INPUT_GPC));
@@ -464,7 +464,7 @@ class acl extends rcube_plugin
*/
private function action_delete()
{
- $mbox = trim(get_input_value('_mbox', RCUBE_INPUT_GPC, true, 'UTF7-IMAP'));
+ $mbox = trim(get_input_value('_mbox', RCUBE_INPUT_GPC, true)); //UTF7-IMAP
$user = trim(get_input_value('_user', RCUBE_INPUT_GPC));
$user = explode(',', $user);
@@ -495,7 +495,7 @@ class acl extends rcube_plugin
return;
}
- $this->mbox = trim(get_input_value('_mbox', RCUBE_INPUT_GPC, true, 'UTF7-IMAP'));
+ $this->mbox = trim(get_input_value('_mbox', RCUBE_INPUT_GPC, true)); // UTF7-IMAP
$advanced = trim(get_input_value('_mode', RCUBE_INPUT_GPC));
$advanced = $advanced == 'advanced' ? true : false;