[issue37572] email lib bug

famu xu report at bugs.python.org
Fri Jul 12 08:44:01 EDT 2019


New submission from famu xu <qhsoft at gmail.com>:

file: email\_header_value_parser.py

line : encoded_part = part.fold(policy=policy)[:-1] # strip nl
modify to: encoded_part = part.fold(policy=policy)[:-2] # strip nl

because the nl is "\r\n"

----------
components: email
messages: 347740
nosy: barry, famu xu, r.david.murray
priority: normal
severity: normal
status: open
title: email lib bug
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37572>
_______________________________________


More information about the Python-bugs-list mailing list