[Dovecot] dot-containing foldernames \HasNoChildren bug ?
Timo Sirainen
tss at iki.fi
Mon Aug 9 19:01:14 EEST 2010
On Sat, 2010-08-07 at 19:29 +0200, Samuel Kvasnica wrote:
> - } else if (*str == ns->list->hierarchy_sep ||
> - *str == mlist->escape_char || *str == '/')
> + } else {
> + if (*str == ns->list->hierarchy_sep || ( mlist && // SK mlist was zero check added !
> + *str == mlist->escape_char) || *str == '/'){
> str_printfa(esc, "%c%02x", mlist->escape_char, *str);
> - else
> + }
> + else{
> str_append_c(esc, *str);
> + }
> + }
Was there a reason for this change?
Anyway, this should also fix it:
http://hg.dovecot.org/dovecot-2.0/rev/18d95a2d0aba
There's also a bug with listing shared mailboxes that contain '.'
characters. Lets see if I can fix that too..
More information about the dovecot
mailing list