imap: Implemented encoding RFC3501 strings

Operating Systems / Haiku - Axel Dörfler [pinc-software.de] - 6 January 2015 08:25 UTC

- Was completely missing so far.
- Fixed bug in decoding that handled the "&-" sequence incorrectly.
- Added small test application that should easily be convertible to a unit test.

9234fd4 imap: Implemented encoding RFC3501 strings.
.../inbound_protocols/imap/imap_lib/Response.cpp | 59 +++++++++++++++++++-
.../inbound_protocols/imap/imap_lib/Response.h | 4 +-
src/tests/add-ons/mail/imap/Jamfile | 7 +++
.../add-ons/mail/imap/rfc3501_encoding_test.cpp | 39 +++++++++++++
4 files changed, 105 insertions(+), 4 deletions(-)

Upstream: cgit.haiku-os.org


  • Share