Mercurial > p > roundup > code
diff CHANGES.txt @ 6278:f21ec1414591
issue2551092 - fix crash due to use of string not bytes under py3
Align roundup.anypy.email_.decode_header which is a copy of the stdlib
email.header.decode_header by adding conversion of str to bytes for
py3.
rouilj: I was unable to figure out how to generate a test case for
this. Existing tests that use utf8 encoded subject line pass and in all
cases including the ones where I tried to craft a failing subject,
always were bytes and not strings.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 26 Oct 2020 20:27:23 -0400 |
| parents | 957a0fc20021 |
| children | 9ec3a9bc4ea5 |
line wrap: on
line diff
--- a/CHANGES.txt Sun Oct 25 16:12:15 2020 -0400 +++ b/CHANGES.txt Mon Oct 26 20:27:23 2020 -0400 @@ -39,6 +39,9 @@ - issue2551094 - make simplemde handle line breaks the same as the backend markdown formmatters. (report: Cedric Krier, patch: Christof Meerwald) +- issue2551092 - fix crash bug by aligning + roundup.anypy.email_.decode_header with stdlib email.header and + convert string to bytes for python 3. (Cedrick Krier) Features: - issue2550522 - Add 'filter' command to command-line
