diff options
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-x | src/usr/local/www/head.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 619141b..c8e99dd 100755 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -61,9 +61,9 @@ header('Content-Type: text/html; charset=utf-8'); $pagetitle = gentitle($pgtitle); if (isset($config['system']['webgui']['pagenamefirst'])) { - $tabtitle = $pagetitle . " - " . $config['system']['hostname'] . "." . $config['system']['domain']; + $tabtitle = $pagetitle . " - " . htmlspecialchars($config['system']['hostname'] . "." . $config['system']['domain']); } else { - $tabtitle = $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle; + $tabtitle = htmlspecialchars($config['system']['hostname'] . "." . $config['system']['domain']) . " - " . $pagetitle; } $cssfile = "/bootstrap/css/pfSense.css"; |