docker-offlineimap/offlineimap/folder
Łukasz Żarnowiecki 23f96ba880 Encode utf-8 argument for md5 function
Python3 accepts binary input for md5 function.

This patch is known to break setups using folder names not strictly conforming
the IMAP UTF-7 encoding. We always made it clear that such setup is unsupported
and might be broken at some point in time. See documentation about
'decodefoldernames' in the provided configuration file. This is why this patch
is considered introducing no regression for this use case.

Patches to support both Python 3 and Python 2 by re-encoding the MD5 in the
filenames are welcome. This likely requires a new CLI option to allow
backporting the feature for users downgrading or changing of Python environment.

Signed-off-by: Łukasz Żarnowiecki <dolohow@outlook.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-05-17 00:44:02 +02:00
..
__init__.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
Base.py conf: newmail_hook is a remote option 2016-05-12 18:04:41 +02:00
Gmail.py Replace calls to long with int calls 2016-05-10 02:53:09 +02:00
GmailMaildir.py Replace dictionary iteration methods 2016-05-16 23:18:26 +02:00
IMAP.py Replace xrange with range 2016-05-10 02:53:09 +02:00
LocalStatus.py sqlite: open database when we use it rather than at instantiation time 2016-05-12 18:51:59 +02:00
LocalStatusSQLite.py sqlite: open database when we use it rather than at instantiation time 2016-05-12 18:51:59 +02:00
Maildir.py Encode utf-8 argument for md5 function 2016-05-17 00:44:02 +02:00
UIDMaps.py Replace dictionary iteration methods 2016-05-16 23:18:26 +02:00