aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2023-09-16 11:15:46 -0300
committerDavid Bremner <david@tethera.net>2023-09-18 06:13:25 -0300
commitd4e0aaa76bd9e7a9e36abf47dc9ad3ea8bc10334 (patch)
treeffe0b3a98a7210c292d94d3ae6c9ebbed70fd4a5 /.gitignore
parent28a0978ec04d2c09b56a140718c171b1e7a58960 (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 '.gitignore')
0 files changed, 0 insertions, 0 deletions