DirectoryIndex directive, the folder icon is no longer replaced
by the icon of that file.
PR: 9587
Submitted by: David Shane Holden <dpejesh@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100628
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) mod_autoindex: If a directory contains a file listed in the
+ DirectoryIndex directive, the folder icon is no longer replaced
+ by the icon of that file. PR 9587.
+ [David Shane Holden <dpejesh@yahoo.com>]
+
*) mod_authz_groupfile: Strip trailing spaces of group names. This
hopefully saves some hours of searching for typos. PR 12863.
[André Malo]
if (autoindex_opts & FOLDERS_FIRST) {
p->isdir = 1;
}
+ rr->filename = ap_make_dirstr_parent (rr->pool, rr->filename);
if (!(p->icon = find_icon(d, rr, 1))) {
p->icon = find_default_icon(d, "^^DIRECTORY^^");
}