Red Hat Bugzilla – Bug 187375
"Download Server" directory listings do not include the directory name
Last modified: 2012-01-04 16:55:56 EST
Pages like <http://download.fedora.redhat.com/pub/fedora/linux/core/> do not
include the current directory anywhere.
This should be trivially fixable, I guess.
Can you give me an example of what you'd like to see there?
I'm guessing what is meant is something at the top of the directory listing that
"Index of /pub/fedora/linux/core"
I think this is the default for when Apache is permitted to list directory contents.
And whats in the URL bar doesn't count?
I had in mind something along the lines of what Karsten suggested.
The URL is not enough for various reasons. If you have several windows at
different locations, the URL will not show up in the window manager thingie
listing windows; if you are using a screen reader; you have to wait for the
boring h t t p colon slash slash download dot fedora dot etc before getting the
path (and tab-navigate to the URL, of course); having uninformative <title>s
forces users to edit descriptions on browser bookmarks, and is very unhelpful in
history lists. GNOME (and hence FC) is moving away from implementation details
like pathnames and URLs showing up in UIs, so it is quite inconsistent with
having to look at the URL bar here.
Using generic titles goes against the intent of the <title> element, in fact:
see <http://www.w3.org/TR/html401/struct/global.html#edef-TITLE> (Note this
applies more widely than de download server pages...)
With the current template system, I'm not sure that adding the path to the
title tag is possible.
Unfortunately, I don't know of any way to do this while keeping those pages templated. Which is more important, having the page templated, or having the current directory shown?