Index: files/index.php
===================================================================
--- files/index.php (revision 268)
+++ files/index.php (working copy)
@@ -654,7 +654,7 @@
foreach ($filelist as $file) {
if (is_dir($basedir.'/'.$file)) {
- echo "
pixpath/f/folder.gif\" class=\"icon\" alt=\"$strfolder\" /> $file
";
+ echo '
'. htmlspecialchars($file) .'
';
$subfilelist = array();
$currdir = opendir($basedir.'/'.$file);
while (false !== ($subfile = readdir($currdir))) {
@@ -666,7 +666,7 @@
} else {
$icon = mimeinfo("icon", $file);
- echo "
pixpath/f/$icon\" class=\"icon\" alt=\"$strfile\" /> $file
";
+ echo '
'. htmlspecialchars($file) .'
';
}
}
}