Changes with Apache 2.0.49
+ *) mod_info: HTML escape configuration information so it displays
+ correctly. PR 24232. [Thom May]
+
*) Restore the ability to add a description for directories that
don't contain an index file. (Broken in 2.0.48) [André Malo]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/12/04 06:40:13 $]
+Last modified at [$Date: 2003/12/04 06:46:26 $]
Release:
(nd: +1 on concept, lacking knowledge prevents me from definitely +1'ing
it.)
- * mod_info: Escape html code in directives and arguments. PR: 24232
- modules/generators/mod_info.c: r1.52
- +1: thommay, nd, trawick, striker
-
* Let mod_autoindex show filenames containing special characters.
PR 13598.
server/request.c: r1.130
if (nest > block_start) {
block_start++;
apr_snprintf(htmlstring, sizeof(htmlstring), "%s %s",
- tmptree->parent->directive,
+ tmptree->parent->directive,
tmptree->parent->args);
ap_rputs("<dd><tt>", r);
mod_info_html_cmd_string(r, htmlstring, 0);
if (nest == 2) {
ap_rprintf(r, "<dd><tt> %s "
"<i>%s</i></tt></dd>\n",
- tmptree->directive, tmptree->args);
+ ap_escape_html(r->pool,tmptree->directive),
+ ap_escape_html(r->pool,tmptree->args));
} else if (nest == 1) {
ap_rprintf(r,
"<dd><tt> %s <i>%s</i></tt></dd>\n",
- tmptree->directive, tmptree->args);
+ ap_escape_html(r->pool,tmptree->directive),
+ ap_escape_html(r->pool,tmptree->args));
} else {
ap_rputs("<dd><tt>", r);
mod_info_html_cmd_string(r, tmptree->directive, 0);
- ap_rprintf(r, " <i>%s</i></tt></dd>\n", tmptree->args);
+ ap_rprintf(r, " <i>%s</i></tt></dd>\n",
+ ap_escape_html(r->pool,tmptree->args));
}
}
++cmd;