* modules/generators/mod_autoindex.c (output_directories): Escape
filename in non-FancyIndexing case.
PR: 38910
Submitted by: Robby Griffin <rmg terc.edu>
Reviewed by: jorton, rpluem, trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@410830
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.2.3
+ *) mod_autoindex: Fix filename escaping with FancyIndexing disabled.
+ PR 38910. [Robby Griffin <rmg terc.edu>]
+
*) mod_charset_lite: Bypass translation when the source and dest charsets
are the same. [Jeff Trawick]
ap_rputc('\n', r);
}
else {
- ap_rvputs(r, "<li><a href=\"", anchor, "\"> ", t2,
- "</a></li>\n", NULL);
+ ap_rvputs(r, "<li><a href=\"", anchor, "\"> ",
+ ap_escape_html(scratch, t2),
+ "</a></li>\n", NULL);
}
}
if (autoindex_opts & TABLE_INDEXING) {