diff options
Diffstat (limited to '')
-rw-r--r-- | detail.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,8 +27,8 @@ $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); | |||
27 | 27 | ||
28 | html_start(); | 28 | html_start(); |
29 | 29 | ||
30 | printf('<fieldset id="%s">', $host); | 30 | printf('<fieldset id="%s">', htmlentities($host)); |
31 | printf('<legend>%s</legend>', $host); | 31 | printf('<legend>%s</legend>', htmlentities($host)); |
32 | 32 | ||
33 | if (!$plugins = collectd_plugins($host)) { | 33 | if (!$plugins = collectd_plugins($host)) { |
34 | echo "Unknown host\n"; | 34 | echo "Unknown host\n"; |