diff options
author | jim-p <jimp@pfsense.org> | 2015-12-21 10:15:30 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-12-21 10:15:30 -0500 |
commit | 4fa888b46cbd7816b9063de2a06f249105457111 (patch) | |
tree | 01c2430e29483c8055e434ce405c8dcc64e8cdfd /usr/local/www/widgets/widgets/system_information.widget.php | |
parent | 49e83995cef02354b39a506a3bc0feb469cb5637 (diff) | |
download | pfsense-4fa888b46cbd7816b9063de2a06f249105457111.zip pfsense-4fa888b46cbd7816b9063de2a06f249105457111.tar.gz |
Encode hostname before printing; remove some related dead code.
Diffstat (limited to 'usr/local/www/widgets/widgets/system_information.widget.php')
-rw-r--r-- | usr/local/www/widgets/widgets/system_information.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php index 2eed279..8344b9d 100644 --- a/usr/local/www/widgets/widgets/system_information.widget.php +++ b/usr/local/www/widgets/widgets/system_information.widget.php @@ -116,7 +116,7 @@ $filesystems = get_mounted_filesystems(); <tbody> <tr> <td width="25%" class="vncellt"><?=gettext("Name");?></td> - <td width="75%" class="listr"><?php echo $config['system']['hostname'] . "." . $config['system']['domain']; ?></td> + <td width="75%" class="listr"><?php echo htmlspecialchars($config['system']['hostname'] . "." . $config['system']['domain']); ?></td> </tr> <tr> <td width="25%" valign="top" class="vncellt"><?=gettext("Version");?></td> |