[Tickets #12059] Re: Displaying quota is broken in basic-mode if the mailbox name has special characters
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Feb 20 01:53:12 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12059
------------------------------------------------------------------------------
Ticket | 12059
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Displaying quota is broken in basic-mode if the mailbox
| name has special characters
Queue | IMP
Version | 6.0.3
Type | Bug
-State | Unconfirmed
+State | Feedback
Priority | 1. Low
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2013-02-19 18:53) wrote:
> If a mailbox has special characters ( like äö ) in it's name then
> displaying quota information is broken in basic-mode. It seems that
> the mailbox name isn't encoded to utf7imap and this causes the
> following errors in server logs when accessing the mailbox.
Your fix isn't right, because Horde_Imap_Client_Base#getQuotaRoot()
requires the following for the mailbox parameter:
* @param mixed $mailbox A mailbox. Either a Horde_Imap_Client_Mailbox
* object or a string (UTF-8).
You can't pass in a UTF7-IMAP string.
Tracing the code, not sure why this is broken for you. The value
passed into IMP_Quota is either a UTF-8 string ('INBOX') or an
IMP_Mailbox object with the mailbox internally stored in UTF-8. The
call to getQuotaRoot() converts this data to a
Horde_Imap_Client_Mailbox object, which is UTF-8, in IMP_Imap.
More information about the bugs
mailing list