alecpl
2010-06-07 b93d00026aefbdccfabd6253f9cb184956617084
- fix for initial capability response


1 files modified
2 ■■■■■ changed files
program/include/rcube_imap_generic.php 2 ●●●●● patch | view | raw | blame | history
program/include/rcube_imap_generic.php
@@ -645,6 +645,7 @@
        // RFC3501 [7.1] optional CAPABILITY response
        if (preg_match('/\[CAPABILITY ([^]]+)\]/i', $line, $matches)) {
            $this->capability = explode(' ', strtoupper($matches[1]));
            $this->capability_readed = true;
        }
        $this->message .= $line;
@@ -716,6 +717,7 @@
            }
            $this->getNamespace();
            $this->logged = true;
            return true;
        } else {
            return false;