Issue 28047: email set_content does not always use the correct line length for the base64 CTE (original) (raw)

Issue28047

Created on 2016-09-09 18:25 by r.david.murray, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg275373 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2016-09-09 18:25
The per-line character count is calculated incorrectly, such that some specified line lengths result in padding being added to each line, which is incorrect and breaks subsequent decoding.
msg275390 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-09-09 19:00
New changeset 99db6a25444b by R David Murray in branch '3.5': #28047: Fix calculation of base64 line length. https://hg.python.org/cpython/rev/99db6a25444b
msg275392 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2016-09-09 19:01
This is buggy in the old email code as well, but it doesn't affect anything there because only the default line length is ever used.
History
Date User Action Args
2022-04-11 14:58:36 admin set github: 72234
2016-09-09 19:01:29 r.david.murray set status: open -> closedresolution: fixedmessages: + stage: needs patch -> resolved
2016-09-09 19:00:41 python-dev set nosy: + python-devmessages: +
2016-09-09 18:25:44 r.david.murray set versions: + Python 3.5, Python 3.6nosy: + barrycomponents: + emailtype: behaviorstage: needs patch
2016-09-09 18:25:20 r.david.murray set assignee: r.david.murray
2016-09-09 18:25:05 r.david.murray create