Re: [PATCH] Disambiguate mbox download files - Mailing list pgsql-www

From Kevin Rocker
Subject Re: [PATCH] Disambiguate mbox download files
Date
Msg-id ab098339-c032-4b8e-8cf4-da799d95a45c@app.fastmail.com
Whole thread
In response to Re: [PATCH] Disambiguate mbox download files  (Magnus Hagander <magnus@hagander.net>)
List pgsql-www
Makes sense to me. The per-thread path already had a good filename, but was missing the file extension, so more benefits than just consistency.

On Wed, Jul 22, 2026, at 3:50 PM, Magnus Hagander wrote:


On Thu, 25 Jun 2026 at 16:13, Kevin <me@kevinrocker.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?

--

Attachment

pgsql-www by date:

Previous
From: 陈天舟
Date:
Subject: Re: Wiki editor request
Next
From: "Jonathan Gonzalez V."
Date:
Subject: Re: Bug during logout