[dev] Horde_Imap_Client: listMailboxes() sort delimiter

Thomas Jarosch thomas.jarosch at intra2net.com
Thu Aug 8 07:38:05 UTC 2013


Hi Michael,

On Wednesday, 7. August 2013 23:32:52 Michael M Slusarz wrote:
> > Bug or feature?
> 
> Bug.  But nobody uses '/' anymore, so this doesn't affect many people.

well, we do :) It was the only way back in 2002 to support user
or folder names with a '.' and we never changed it since then.

> > Can't we auto-determine the delimiter internally if the 'sort' option
> > is enabled? What's the use case of specifying the delimiter manually?
> 
> 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.

Thanks for the clarification, I wasn't aware of this.
(though this is unnecessary complex... argh)

Thomas



More information about the dev mailing list