notmuch/devel/notmuch-web
David Bremner d4e0aaa76b 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.
2023-09-18 06:13:25 -03:00
..
static devel/notmuch-web: single user web front end using python-cffi 2022-02-25 08:20:31 -04:00
templates nmweb: Fix spacing around punctuation in headers 2022-10-11 08:15:25 -03:00
nmgunicorn.py devel/notmuch-web: single user web front end using python-cffi 2022-02-25 08:20:31 -04:00
nmweb.py devel/nmweb: read mail files in binary mode. 2023-09-18 06:13:25 -03:00
todo devel/notmuch-web: single user web front end using python-cffi 2022-02-25 08:20:31 -04:00