Re: New archives layout is not an improvement

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: pgsql-www(at)postgresql(dot)org, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: New archives layout is not an improvement
Date: 2018-04-21 23:05:46
Message-ID: EF30364B-F731-4788-82D4-3019E43F2602@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www


> On Apr 20, 2018, at 3:08 PM, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
>
> Here's something funny about the way quoted-printable encodings are
> processed in archives. I attach two screenshots; notice how the From is
> not decoded properly in both cases. Many names with accents are
> displayed just fine, why not these? There are other examples of this
> behavior, including in the subject in a few places.
>
> the messages are
> https://www.postgresql.org/message-id/CY1PR16MB04902D3E0DF77861C206CFB2C6F00%40CY1PR16MB0490.namprd16.prod.outlook.com
> https://www.postgresql.org/message-id/DM3PR17MB076480E0C6E07C3DA9F861F9A2FD0%40DM3PR17MB0764.namprd17.prod.outlook.com <https://www.postgresql.org/message-id/DM3PR17MB076480E0C6E07C3DA9F861F9A2FD0@DM3PR17MB0764.namprd17.prod.outlook.com>
I tried loading these messages locally[1] using to see if I could reproduce.
Unfortunately, it loaded cleanly.

I also tried to see if anything had changed in the archives parsing[2] code
since that message was committed. The one thing I see is that [2] depends
on “tidy” and IIRC there were some issues with libtidy after the boxes the
various apps were on were upgraded. Thus I defer to Magnus.

So perhaps the fix is as simple as the messages need to be reimported.

Jonathan

[1] https://git.postgresql.org/gitweb/?p=pgarchives.git;a=blob;f=loader/load_message.py
<https://git.postgresql.org/gitweb/?p=pgarchives.git;a=blob;f=loader/load_message.py>[2] https://git.postgresql.org/gitweb/?p=pgarchives.git;a=blob;f=loader/lib/parser.py <https://git.postgresql.org/gitweb/?p=pgarchives.git;a=blob;f=loader/lib/parser.py>

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Jonathan S. Katz 2018-04-22 00:19:34 Re: New archives layout is not an improvement
Previous Message Noah Misch 2018-04-21 06:46:56 Re: New archives layout is not an improvement