[pgsql-www] Further UTF8/MIME fixes for the commitfest app - Mailing list pgsql-www

From ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Subject [pgsql-www] Further UTF8/MIME fixes for the commitfest app
Date
Msg-id d8j60js62xw.fsf@dalvik.ping.uio.no
Whole thread Raw
Responses Re: [pgsql-www] Further UTF8/MIME fixes for the commitfest app
Re: [pgsql-www] Further UTF8/MIME fixes for the commitfest app
List 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


-- 
Sent via pgsql-www mailing list (pgsql-www@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www

Attachment

pgsql-www by date:

Previous
From: Daniel Gustafsson
Date:
Subject: [pgsql-www] Empty ul on navmenu
Next
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Date:
Subject: Re: [pgsql-www] Further UTF8/MIME fixes for the commitfest app