docker-offlineimap/offlineimap
Ł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
..
folder Encode utf-8 argument for md5 function 2016-05-17 00:44:02 +02:00
repository Replace dictionary iteration methods 2016-05-16 23:18:26 +02:00
ui Curses, UIBase: remove references to __bigversion__ 2016-03-05 06:47:24 +01:00
utils Make OS-default CA certificate file to be requested explicitely 2015-01-18 22:05:49 +03:00
__init__.py v6.7.0 2016-03-10 17:08:18 +01:00
accounts.py sqlite: open database when we use it rather than at instantiation time 2016-05-12 18:51:59 +02:00
CustomConfig.py Properly re-raise exception to save original tracebacks 2015-01-12 17:51:21 +03:00
emailutil.py Rename email.Parser to email.parser 2016-05-10 02:53:09 +02:00
error.py more consistent style 2015-01-07 21:31:43 +01:00
globals.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
imaplib2.py bump imaplib2 from 2.52 to 2.53 2015-12-28 01:18:16 +01:00
imaplibutil.py Convert except X,T to except X as T 2016-05-10 02:53:08 +02:00
imapserver.py Change filter with lambda to list comprehension 2016-05-10 02:53:09 +02:00
imaputil.py Add workaround for string.split for Python3 2016-05-10 02:53:09 +02:00
init.py Replace dictionary iteration methods 2016-05-16 23:18:26 +02:00
localeval.py localeval: avoid redefining 'file' keyword 2015-01-14 17:18:48 +01:00
mbnames.py mbnames: add option to write the file once per account 2015-03-22 21:15:46 +01:00
syncmaster.py threading: add comments 2016-05-12 04:35:21 +02:00
threadutil.py threading: simplify the monitoring code for threads 2016-05-12 05:29:49 +02:00