Title: imaplib fails when server sends extra blank line after literal value
Type: crash Stage: patch review
Components: Library (Lib) Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jrlevine
Priority: normal Keywords: patch

Created on 2021-06-13 05:34 by jrlevine, last changed 2021-06-13 05:35 by jrlevine.

Pull Requests
URL Status Linked Edit
PR 26701 open jrlevine, 2021-06-13 05:35
Messages (1)
msg395729 - (view) Author: John L (jrlevine) * Date: 2021-06-13 05:34
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.
Date User Action Args
2021-06-13 05:35:29jrlevinesetkeywords: + patch
stage: patch review
pull_requests: + pull_request25286
2021-06-13 05:34:08jrlevinecreate