Re: [PATCH] Disambiguate mbox download files

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Kevin <me(at)kevinrocker(dot)com>
Cc: pgsql-www(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Disambiguate mbox download files
Date: 2026-07-22 13:50:31
Message-ID: CABUevEy0tjUs-OSuug8q1V6gZRkO_EM0a__X05d2cU9LF7_nWQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Thu, 25 Jun 2026 at 16:13, Kevin <me(at)kevinrocker(dot)com> wrote:

> The mailing list monthly archives were all downloading with the same
> filename, just "psql-hackers.mbox", which turned into
> "psql-hackers(1).mbox", "psql-hackers(2).mbox", etc.
>
> This patch sets the `Content-Disposition` header to a filename that
> includes the list and the year/month.
>

I like this idea and the patch looks good. However, is there a reason not
to also do this for the other code path calling _build_mbox()? If nothing
else, for consistency?

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Aryan Sharma 2026-07-23 05:38:32 Re: Unable to login
Previous Message Magnus Hagander 2026-07-22 13:37:57 Re: Unable to login