From: | ilmari(at)ilmari(dot)org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=) |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | PostgreSQL WWW list <pgsql-www(at)postgresql(dot)org> |
Subject: | Further UTF8/MIME fixes for the commitfest app |
Date: | 2017-03-01 22:35:07 |
Message-ID: | d8j60js62xw.fsf@dalvik.ping.uio.no |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Hi Magnus,
Thanks for the quick fix for the email From header bug yesterday. I
haven't had a chance to test it yet, because I don't want to pollute the
mailing list with test messages.
Please find attached two more patches:
#1 applies the same fix when Cc-ing patch authors
#2 MIME-decodes headers received from the mailing list archive JSON API
I haven't been able to talk to the JSON api, so I couldn't test them
properly, but I did some stand-alone testing of the code snippets.
Note that the MIME decoding only works properly if running under Python
3; the Python 2 version of email.header.decode_header() has broken
detection of the end of encoded-words.
Thanks,
ilmari
--
- Twitter seems more influential [than blogs] in the 'gets reported in
the mainstream press' sense at least. - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
to a mainstream media article. - Calle Dybedahl
Attachment | Content-Type | Size |
---|---|---|
0001-Properly-handle-UTF8-in-Cc-header-in-emails.patch | text/x-diff | 1.7 KB |
0002-MIME-decode-headers-from-the-archive-JSON-API.patch | text/x-diff | 1.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= | 2017-03-02 01:41:47 | Re: Further UTF8/MIME fixes for the commitfest app |
Previous Message | Fabien COELHO | 2017-03-01 16:41:28 | Re: [pgsql-www] Small issue in online devel documentation build |