PR52845: "DirectoryIndex disabled" should blow away the DirectoryIndex settings
in the current config section, not just override previous config sections.
Submitted by: covener
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1300089 13f79535-47bb-0310-9956-
ffa450edef68
envvars: Fix insecure handling of LD_LIBRARY_PATH that could lead to the
current working directory to be searched for DSOs. [Stefan Fritsch]
+ *) "DirectoryIndex disabled" now undoes DirectoryIndex settings in
+ the current configuration section, not just previous config sections.
+ PR52845 [Eric Covener]
+
*) mod_xml2enc: Fix broken handling of EOS buckets which could lead to
response headers not being sent. PR 52766. [Stefan Fritsch]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_dir: Fix "DirectoryIndex disabled" so it wipes out the current config,
- not just inherited config. PR52845
- Trunk patch: http://svn.apache.org/viewvc?rev=1297958&view=rev
- 2.4.x patch: Trunk patch works
- +1: covener, sf, igalic
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
const char *ww = ap_getword_conf(cmd->temp_pool, &tt);
if (ww == NULL || !ww[0]) {
/* "disabled" is first, and alone */
+ apr_array_clear(d->index_names);
break;
}
}