Fix improper header separator for X-OfflineIMAP header

For servers without UIDPLUS we are inserting additional header
just after transformation '\n' -> CRLF was done.  addmessageheaders()
was written to work with just '\n' as the separator, so X-OfflineIMAP
header wasn't preceeded by the CRLF, but just by '\n'.

Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
This commit is contained in:
Eygene Ryabinkin
2014-06-01 22:09:44 +04:00
parent 7770b5ff73
commit e8db1217d4
5 changed files with 29 additions and 10 deletions

View File

@ -5,7 +5,15 @@ ChangeLog
:website: http://offlineimap.org
OfflineIMAP v6.5.6 (YYYY-MM-DD)
OfflineIMAP v6.5.6.1 (YYYY-MM-DD)
=================================
* Fix mangled message headers for servers without UIDPLUS:
X-OfflineIMAP was added with preceeding '\n' instead of
'\r\n' just before message was uploaded to the IMAP server.
OfflineIMAP v6.5.6 (2014-05-14)
===============================
* Fix IDLE mode regression (it didn't worked) introduced