[Tickets #9565] Re: Imap_Client fails with literal data on setMetadata command
bugs at horde.org
bugs at horde.org
Wed Feb 9 17:54:36 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9565
------------------------------------------------------------------------------
Ticket | 9565
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Imap_Client fails with literal data on setMetadata
| command
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2011-02-09 17:54) wrote:
This is correct. Forgot that the 8-bit character counts as 2 octets:
>>>> DEBUG: C: A0002 SETANNOTATION INBOX "/comment" ("value.shared" {2+}
>>>> DEBUG: C: Ä)
>>>> DEBUG: S: A0002 OK Completed
This is incorrect:
>>> DEBUG: C: A0002 SETANNOTATION INBOX "/comment" ("value.shared" {2+}
>>> DEBUG: C: Ä
>>> DEBUG: C: )
>>> DEBUG: S: A0002 OK Completed
The IMAP client code was properly outputting literal data when that
data was being stored internally in a stream. However, when the
literal data was stored internally in a string, we were tacking on a
CRLF after the literal data. This was terminating the command early.
This should be fixed (for real this time).
More information about the bugs
mailing list