Added some html quoting.

This commit is contained in:
Michal Čihař
2003-08-05 17:12:48 +00:00
parent defa87298e
commit 5becc1f284
6 changed files with 12 additions and 10 deletions

View File

@@ -103,7 +103,7 @@ global $GLOBALS;
return 1;
} else {
if ($content != 'none') {
echo '<p><font color="orange">' . sprintf($GLOBALS['strIgnoringFile'], ' ' . $file) . '</font></p>' . "\n";
echo '<p><font color="orange">' . sprintf($GLOBALS['strIgnoringFile'], ' ' . htmlspecialchars($file)) . '</font></p>' . "\n";
} else {
// garvin: disabled. Shouldn't impose ANY non-submitted files ever.
echo '<p><font color="orange">' . sprintf($GLOBALS['strIgnoringFile'], ' ' . '...') . '</font></p>' . "\n";