Summary | Horde_Imap_Client: getMetaData() mailbox name encoding |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | thomas.jarosch (at) intra2net (dot) com |
Created | 08/07/2013 (4340 days ago) |
Due | |
Updated | 08/08/2013 (4339 days ago) |
Assigned | |
Resolved | 08/07/2013 (4340 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Thank you for the quick fix!
Assigned to Michael Slusarz
State ⇒ Resolved
commit 912004ec0155586696b1eafd9593feea44f64346
Author: Michael M Slusarz <slusarz@horde.org>
Date: Wed Aug 7 17:17:04 2013 -0600
[mms] Translate mailbox names from UTF7-IMAP -> UTF-8 in return
from Horde_Imap_Client_Base#getMetadata() (
Bug #12541)..../Imap_Client/lib/Horde/Imap/Client/Socket.php | 83 +++++++++++--------
framework/Imap_Client/package.xml | 4 +-
2 files changed, 50 insertions(+), 37 deletions(-)
http://git.horde.org/horde-git/-/commit/912004ec0155586696b1eafd9593feea44f64346
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Horde_Imap_Client: getMetaData() mailbox name encoding
Type ⇒ Bug
State ⇒ Unconfirmed
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