diff options
| author | David Bremner <david@tethera.net> | 2023-09-16 11:15:46 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-09-16 11:15:46 -0300 |
| commit | 12aa05f07cb8aae736895c46fb25e0106daf207c (patch) | |
| tree | af89b6829e671813c1b64a1c4a81969b34efd74f /test/README | |
| parent | 32bef335658763b5e9d887db3ac22bb3c1b76d9e (diff) | |
devel/nmweb: read mail files in binary mode.
"ju" reported on IRC that browsing
https://nmbug.notmuchmail.org/nmweb/show/20160719094205.qmf5sjnja6crt5t3%40gotlib
crashed. The underlying issue is that python3 defaults to utf8
decoding files unless they are opened in binary mode. The file in
question (in the nmbug archive; it depends a bit on the routing the
message took) has
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
and some of it is not valid utf8.
Diffstat (limited to 'test/README')
0 files changed, 0 insertions, 0 deletions
