- managesieve: Fix handling of "true" as "anyof (true)" test
| | |
| | | * version 1.6 [2009-09-08] |
| | | ----------------------------------------------------------- |
| | | - Fix warning when importing squirrelmail rules |
| | | - Fix handling of "true" as "anyof (true)" test |
| | | |
| | | * version 1.5 [2009-09-04] |
| | | ----------------------------------------------------------- |
| | | - Added es_ES, ua_UA localizations |
| | |
| | | { |
| | | $result = NULL; |
| | | |
| | | if (preg_match('/^(if|elsif|else)\s+((allof|anyof|exists|header|not|size)\s+(.*))\s+\{(.*)\}$/sm', trim($content), $matches)) |
| | | if (preg_match('/^(if|elsif|else)\s+((true|not\s+true|allof|anyof|exists|header|not|size)(.*))\s+\{(.*)\}$/sm', trim($content), $matches)) |
| | | { |
| | | list($tests, $join) = $this->_parse_tests(trim($matches[2])); |
| | | $actions = $this->_parse_actions(trim($matches[5])); |
| | |
| | | 'join' => $join, |
| | | ); |
| | | } |
| | | |
| | | |
| | | return $result; |
| | | } |
| | | |
| | |
| | | * It's clickable interface which operates on text scripts and communicates |
| | | * with server using managesieve protocol. Adds Filters tab in Settings. |
| | | * |
| | | * @version 1.5 |
| | | * @version 1.6 |
| | | * @author Aleksander 'A.L.E.C' Machniak <alec@alec.pl> |
| | | * |
| | | * Configuration (see config.inc.php.dist): |