[issue44408] imaplib fails when server sends extra blank line after literal value

2022-01-19 Thread John L
John L added the comment: It causes an exception and traceback, don't remember which exception six months later. I'll see if I can add a suitable test case to the unit test. -- ___ Python tracker <https://bugs.python.o

[issue44269] smtplib AUTH command doesn't handle EAI arguments

2021-06-13 Thread John L
Change by John L : -- keywords: +patch pull_requests: +25299 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26709 ___ Python tracker <https://bugs.python.org/issu

[issue44408] imaplib fails when server sends extra blank line after literal value

2021-06-12 Thread John L
Change by John L : -- keywords: +patch pull_requests: +25286 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26701 ___ Python tracker <https://bugs.python.org/issu

[issue44408] imaplib fails when server sends extra blank line after literal value

2021-06-12 Thread John L
New submission from John L : Some IMAP servers return an extra blank line after a counted literal value, which makes imaplib crash. MacOS mail and T'bird handle the blank line OK so it seems to be a somewhat common bug. -- components: Library (Lib) messages: 395729 nosy: jrl

[issue44269] smtplib AUTH command doesn't handle EAI arguments

2021-05-30 Thread John L
New submission from John L : In an EAI (SMTPUTF8) mail session, AUTH usernames and passwords can be UTF-8, not just ASCII. The fix is easy. In smtplib.py, in three places in the auth() and auth_cram_md5() routines change ".encode('ascii')" to ".encode(self.command