[dev] Horde_Imap_Client: listMailboxes() sort delimiter
Thomas Jarosch
thomas.jarosch at intra2net.com
Thu Aug 8 07:57:53 UTC 2013
On Thursday, 8. August 2013 09:38:05 Thomas Jarosch wrote:
> > No. How would you auto-detect? It's perfectly legal (if uncommon) to
> > have different namespaces have different delimiters. E.g. the private
> > namespace could have '.' as a delimiter, while a shared namespace may
> > use '/'. You have to identify which one you want to control.
hmmm, listing all mailboxes via '*' with 'sort=true'
is not easily possible then? If at all...
I think we could detect the current namespace of a mailbox and use
the correct delimiter for that namespace. Only if 'sort=true' of course.
Would that work?
Though this is rather academic, most servers will use just one namespace.
What about setting 'sort_delimiter' to the first encountered delimiter,
at least when it's not given instead of defaulting to '.'?
One instance of this bug still needs fixing:
imp/lib/Prefs/Special/SpecialMboxes.php::_getSpecialUse()
Cheers,
Thomas
More information about the dev
mailing list