diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-06-26 18:26:39 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-06-26 18:26:39 +0200 |
commit | d6b592941da7017c86ecb8fb81f9ffc515995b4f (patch) | |
tree | 45131400bf595cf55a8966261810b876449031ce /plugins/managesieve/lib | |
parent | 1b52cfc45fc2348e9d2c9847a9c775096d0ff21d (diff) |
Fix handling of &, <, > characters in scripts/filter names (#1489208)
Diffstat (limited to 'plugins/managesieve/lib')
-rw-r--r-- | plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php index ac942d292..f29c9fb40 100644 --- a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php @@ -1014,7 +1014,7 @@ class rcube_sieve_engine foreach ($list as $idx => $set) { $scripts['S'.$idx] = $set; $result[] = array( - 'name' => rcube::Q($set), + 'name' => $set, 'id' => 'S'.$idx, 'class' => !in_array($set, $this->active) ? 'disabled' : '', ); @@ -2111,7 +2111,7 @@ class rcube_sieve_engine $fname = $filter['name'] ? $filter['name'] : "#$i"; $result[] = array( 'id' => $idx, - 'name' => rcube::Q($fname), + 'name' => $fname, 'class' => $filter['disabled'] ? 'disabled' : '', ); $i++; |