docker-offlineimap/offlineimap
Carnë Draug c9005cd4ff Check if username is provided before trying plain authentication.
If the username value is not provided on the configuration file, then
username if of NoneType and NULL.join will bomb since Nones can't be
joined with strings.  So check if username is empty and raise an
exception if so.

Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/558
Signed-off-by: David Miguel Susano Pinto <carandraug+dev@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2018-06-16 15:17:35 +02:00
..
folder Gmail: allow parenthesis in labels 2018-05-18 02:10:56 +02:00
repository Allow users to keep colons between each hex pair of server certificate fingerprint in configuration file. 2018-05-15 00:39:59 +02:00
ui Print username instead of accountname when asking for password 2018-06-16 15:17:35 +02:00
utils Add OpenSUSE to list of supported distros 2016-11-03 16:35:24 +01:00
__init__.py v7.2.1 2018-06-16 15:08:07 +02:00
accounts.py maxage: don't consider negative UIDs when computing min UID 2017-12-22 22:01:00 +01:00
bundled_imaplib2.py bump from imaplib2 v2.55 to v2.57 2017-03-05 13:28:47 +01:00
CustomConfig.py ConfigHelperMixin must be new-style class to not break inheritance 2016-07-30 04:26:25 +02: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 fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
imaplibutil.py Removed uneccessary call of list() on zip() object. 2018-05-15 00:38:06 +02:00
imapserver.py Check if username is provided before trying plain authentication. 2018-06-16 15:17:35 +02:00
imaputil.py utf8: Add utf-7/8 conversion functions 2017-10-02 21:09:43 +02:00
init.py Make CTRL-C message more clear 2018-05-01 16:21:57 +02:00
localeval.py minor code enhancements 2016-07-28 00:42:35 +02:00
mbnames.py mbnames: don't duplicate entries in autorefresh mode 2017-05-19 08:32:22 +02:00
threadutil.py fix the profile mode 2016-11-08 07:11:33 +01:00
virtual_imaplib2.py increase imaplib2 requirement from v2.55 to v2.57 2017-07-09 17:28:12 +02:00