monitoring: Escape host_display_name in the hosts overview

This commit is contained in:
Eric Lippmann 2015-01-21 10:04:59 +01:00
parent bfd1332891
commit d49c950aac
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ if ($hosts->count() === 0) {
<?= $this->icon($this->resolveMacros($host->host_icon_image, $host)) ?>
<?php endif ?>
<?= implode(' ', $icons) ?>
<a href="<?= $hostLink ?>"><?= $host->host_display_name ?></a>
<a href="<?= $hostLink ?>"><?= $this->escape($host->host_display_name) ?></a>
<?php if (isset($host->host_unhandled_services) && $host->host_unhandled_services > 0): ?>
<span title="<?=
$host->host_unhandled_services