Escape verbose server name (bug #1362671).

This commit is contained in:
Michal Čihař
2005-11-21 12:03:12 +00:00
parent d7b1759c54
commit bee36e92a8
4 changed files with 9 additions and 6 deletions

View File

@@ -266,9 +266,9 @@ if (top != self) {
}
echo '>';
if ($val['verbose'] != '') {
echo $val['verbose'];
echo htmlspecialchars($val['verbose']);
} else {
echo $val['host'];
echo htmlspecialchars($val['host']);
if (!empty($val['port'])) {
echo ':' . $val['port'];
}