httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r407265 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
Date Wed, 17 May 2006 14:23:41 GMT
Author: jorton
Date: Wed May 17 07:23:41 2006
New Revision: 407265

URL: http://svn.apache.org/viewcvs?rev=407265&view=rev
Log:
* modules/generators/mod_autoindex.c (output_directories): Escape
filename in non-FancyIndexing case.

PR: 38910
Submitted by: Robby Griffin <rmg terc.edu>

Modified:
    httpd/httpd/trunk/modules/generators/mod_autoindex.c

Modified: httpd/httpd/trunk/modules/generators/mod_autoindex.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/generators/mod_autoindex.c?rev=407265&r1=407264&r2=407265&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Wed May 17 07:23:41 2006
@@ -1819,8 +1819,9 @@
             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) {



Mime
View raw message