Aleksander Machniak
2012-08-14 872d209bcdd80d379d575824cc1764e422fac219
Fixed issue with DBMail bug [http://pear.php.net/bugs/bug.php?id=19077] (#1488594)

Conflicts:

plugins/managesieve/Changelog
2 files modified
6 ■■■■ changed files
plugins/managesieve/Changelog 2 ●●●●● patch | view | raw | blame | history
plugins/managesieve/lib/Net/Sieve.php 4 ●●● patch | view | raw | blame | history
plugins/managesieve/Changelog
@@ -1,3 +1,5 @@
- Fixed issue with DBMail bug [http://pear.php.net/bugs/bug.php?id=19077] (#1488594)
* version 5.0 [2012-01-05]
-----------------------------------------------------------
- Fixed setting test type to :is when none is specified
plugins/managesieve/lib/Net/Sieve.php
@@ -1098,7 +1098,9 @@
                    return PEAR::raiseError(trim($response . $line), 6);
                }
                if (preg_match('/^{([0-9]+)}/i', $line, $matches)) {
                // "\+?" is added in the regexp to workaround DBMail bug
                // http://dbmail.org/mantis/view.php?id=963
                if (preg_match('/^{([0-9]+)\+?}/i', $line, $matches)) {
                    // Matches literal string responses.
                    $line = $this->_recvBytes($matches[1] + 2);