diff options
author | jim-p <jimp@pfsense.org> | 2015-12-21 10:29:40 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-12-21 10:29:40 -0500 |
commit | 8ae9a909901ddb13306e6ac494240ff1fa720c4d (patch) | |
tree | 84a5b2efdc4111a79732ebd5cdb3231f30b0d516 /src/usr/local/www/widgets/widgets/system_information.widget.php | |
parent | 934b307814786250e1b3110030996d8166197a1d (diff) | |
download | pfsense-8ae9a909901ddb13306e6ac494240ff1fa720c4d.zip pfsense-8ae9a909901ddb13306e6ac494240ff1fa720c4d.tar.gz |
Encode hostname before printing; remove some related dead code.
Diffstat (limited to 'src/usr/local/www/widgets/widgets/system_information.widget.php')
-rw-r--r-- | src/usr/local/www/widgets/widgets/system_information.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php index 03c439b..c5da475 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -111,7 +111,7 @@ $filesystems = get_mounted_filesystems(); <tbody> <tr> <th><?=gettext("Name");?></th> - <td><?php echo $config['system']['hostname'] . "." . $config['system']['domain']; ?></td> + <td><?php echo htmlspecialchars($config['system']['hostname'] . "." . $config['system']['domain']); ?></td> </tr> <tr> <th><?=gettext("Version");?></th> |