New submission from Erik Quaeghebeur :
>From Python 3.6 onwards, get/set_payload methods are deprecated on the basic
>email message class, email.message.EmailMessage (changed from
>email.message.Message). The get/set_content methods are suggested instead.
>However, with get/set
Erik Quaeghebeur added the comment:
The script that triggered the issue can be found at
https://github.com/equaeghe/mailfilters/blob/master/html2alternative.py
You'll have to remove ", cte='8bit'" on line 68 to expose the bug (that was
added as a workaro
New submission from Erik Quaeghebeur :
IĀ got the following error (Python 3.7.8):
Traceback (most recent call last):
File "/home/equaeghe/.local/bin/html2alternative.py", line 68, in
replaceable.add_alternative(plain)
File "/usr/lib/python3.7/email/message.py&
Erik Quaeghebeur added the comment:
We also shouldn't forget Resent-Message-Id.
So in the header registry
<https://github.com/python/cpython/blob/2a9f709ba23c8f6aa2bed821aacc4e7baecde383/Lib/email/headerregistry.py#L562>,
'message-id': MessageIDHeader,
should be rep
Erik Quaeghebeur added the comment:
Note that In-Reply-To can also contain multiple message ids:
<https://tools.ietf.org/html/rfc5322#section-3.6.4>.
It should be treated the same as References.
When you say that a message_id parser exists, then that means it is not applied
to the Mess
New submission from Erik Quaeghebeur :
Encoded-word is apparently used for header line folding sometimes. This appears
to me as an abuse of this encoding technique. However, that is not the main
issue: it also causes a violation of RFC 2074, as it also encodes message id's:
Changes by Erik Quaeghebeur :
--
nosy: +equaeghe
___
Python tracker
<http://bugs.python.org/issue11245>
___
___
Python-bugs-list mailing list
Unsubscribe: