Re: Broken Etag on /download page

Olly Betts via Xapian-discuss <[email protected]> Sat, 25 Jul 2026 21:44:36 +0100
Newsgroups gmane.comp.search.xapian.general
Message-ID <amUgNL/[email protected]>
On Tue, Jul 21, 2026 at 05:12:43PM +0100, Xapian Discussion wrote:
> On 20/07/2026 20:00, Marius Bakke via Xapian-discuss wrote:
> > The https://xapian.org/download page sends a broken "Etag" header:
> > 
> > ETag: "27e8-653618960998d;65361896106ec
> > 
> > Note the missing end quote.  This may break some poorly-implemented parsers
> > that check for updates...
> 
> Hi Marius - thanks for letting us know. This seems to be a bug in Apache, I
> think related to MultiViews (which is how /download is presented -
> /download.html doesn't have this problem).
> 
> I believe it's the one fixed in this change https://github.com/apache/httpd/commit/7808644f0a321ed0d59927a09a000b74fbae8f78,
> Feb 20th this year. That appears to be only for 2.5 (that file doesn't exist
> in 2.4.68 from what I can tell), which isn't packaged for Debian yet. If it
> causes problems for people, I can try to figure out how to patch the 2.4
> series `etag_end` or its equivalent.

If the concern here is packagers with automated checks for new versions
we could perhaps work around it for now by redirecting /download to
/download.html ?

Cheers,
    Olly