Skip to content

Commit

Permalink
fix problem with expanding non-ascii folder names in imap
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmunro committed Apr 3, 2017
1 parent 0f9fb18 commit 5adde42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/imap/hm-imap-parser.php
Expand Up @@ -272,6 +272,7 @@ protected function build_list_commands($lsub, $mailbox, $keyword) {
$namespace = $nsvals['prefix'];
$delim = $nsvals['delim'];
$ns_class = $nsvals['class'];
$mailbox = $this->utf7_encode(str_replace('"', '\"', $mailbox));
if (strtoupper(substr($namespace, 0, 5)) == 'INBOX') {
$namespace = '';
}
Expand Down

0 comments on commit 5adde42

Please sign in to comment.