[Tickets #12541] Horde_Imap_Client: getMetaData() mailbox name encoding

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Aug 7 15:32:42 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12541
------------------------------------------------------------------------------
  Ticket             | 12541
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Horde_Imap_Client: getMetaData() mailbox name encoding
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-08-07 15:32) wrote:

Hi,

I just found out Horde_Imap_Client::getMetaData() returns modified  
UTF-7 encoded mailbox names.
This happens with an ANNOTATEMORE based cyrus server.

The more common listMailbox() function returns the mailbox names as UTF-8.

Is this the desired behavior? IMHO the API would be more consistent
if all mailbox names are encoded as UTF-8.


The Kolab_Storage code brute-force converts all mailbox names from  
modified UTF-7 to UTF-8,
even the output of listMailboxes(). That does not look right either...  
but it's a separate issue :o)

Cheers,
Thomas






More information about the bugs mailing list