]> git.deb.at Git - deb/packages.git/commitdiff
Packages::DoIndex: Ugly hack to fix content negotiation
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 9 Sep 2007 14:25:35 +0000 (16:25 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 9 Sep 2007 14:25:35 +0000 (16:25 +0200)
Since we don't create the static pages for ddtplangs currently,
only for polangs, but we don't discriminate between the two in
the content negotiation we might try to serve a non-existant file.

Fixing the content negoation or the static file generation will
take some time and testing. For now, work around the bug by stat'ing
the requested file in DoIndex and falling back to English in case it doesn't
exist.


No differences found