diff options
Diffstat (limited to '')
| -rw-r--r-- | detail.php | 4 | ||||
| -rw-r--r-- | host.php | 4 |
2 files changed, 4 insertions, 4 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"; |
| @@ -11,8 +11,8 @@ $selected_plugins = !$plugin ? $CONFIG['overview'] : array($plugin); | |||
| 11 | 11 | ||
| 12 | html_start(); | 12 | html_start(); |
| 13 | 13 | ||
| 14 | printf("<fieldset id=\"%s\">", $host); | 14 | printf("<fieldset id=\"%s\">", htmlentities($host)); |
| 15 | printf("<legend>%s</legend>", $host); | 15 | printf("<legend>%s</legend>", htmlentities($host)); |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | if (!$plugins = collectd_plugins($host)) { | 18 | if (!$plugins = collectd_plugins($host)) { |
