diff options
author | Yoann Lecuyer <yoann.lecuyer@gmail.com> | 2017-05-18 15:48:35 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-06-21 09:59:43 -0400 |
commit | 8f1444501a2a538174167fcc56e42ed700d32538 (patch) | |
tree | cb4e2a45d7c5eed1e3e3eecdcf5b908e4f8cc540 /src/usr/local | |
parent | aaf137f88fd8c50edb8b3e353662301938940f5e (diff) | |
download | pfsense-8f1444501a2a538174167fcc56e42ed700d32538.zip pfsense-8f1444501a2a538174167fcc56e42ed700d32538.tar.gz |
Removed htmlspecialchars when loading leases from config
(cherry picked from commit 2322e9f3cb6dea9203d63a17c6a27de3a2c6b8bc)
(cherry picked from commit b4ff414aef9f43dce0931974dd18e28a19cdadda)
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/status_dhcp_leases.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_dhcp_leases.php b/src/usr/local/www/status_dhcp_leases.php index 1858e33..934dc21 100644 --- a/src/usr/local/www/status_dhcp_leases.php +++ b/src/usr/local/www/status_dhcp_leases.php @@ -325,8 +325,8 @@ foreach ($config['interfaces'] as $ifname => $ifarr) { $slease['if'] = $ifname; $slease['start'] = ""; $slease['end'] = ""; - $slease['hostname'] = htmlentities($static['hostname']); - $slease['descr'] = htmlentities($static['descr']); + $slease['hostname'] = $static['hostname']; + $slease['descr'] = $static['descr']; $slease['act'] = $static_string; $slease['online'] = in_array(strtolower($slease['mac']), $arpdata_mac) ? $online_string : $offline_string; $slease['staticmap_array_index'] = $idx; |