Aleksander Machniak
2013-01-17 8e8f3b96b51fde1df953de7398b15e0f01e10777
program/lib/Roundcube/rcube_imap_generic.php
@@ -1311,6 +1311,11 @@
                if ($cmd == 'LIST' || $cmd == 'LSUB') {
                    list($opts, $delim, $mailbox) = $this->tokenizeResponse($line, 3);
                    // Remove redundant separator at the end of folder name, UW-IMAP bug? (#1488879)
                    if ($delim) {
                        $mailbox = rtrim($mailbox, $delim);
                    }
                    // Add to result array
                    if (!$lstatus) {
                        $folders[] = $mailbox;