Workaround UW-IMAP bug where hierarchy separator is added to the shared folder name (#1488879)

pull/54/merge
Aleksander Machniak 12 years ago
parent ee3e27dc09
commit 2b80d5dbf2

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Workaround UW-IMAP bug where hierarchy separator is added to the shared folder name (#1488879)
- Fix version comparisons with -stable suffix (#1488876)
- Add unsupported alternative parts to attachments list (#1488870)
- Add Compose button on message view page (#1488747)

@ -1311,6 +1311,11 @@ class rcube_imap_generic
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;

Loading…
Cancel
Save