From 3c456d975f678dfc8c12b090f719d03481f87df5 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sat, 18 Jul 2020 12:31:14 +0200 Subject: [PATCH] Fixes formating of unknown host in DHCP leases table Signed-off-by: yubiuser --- settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.php b/settings.php index f22c95ee..82657e52 100644 --- a/settings.php +++ b/settings.php @@ -674,7 +674,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "adlists", " $type = 4; } - $host = $line[3]; + $host = htmlentities($line[3]); if ($host == "*") { $host = "unknown"; } @@ -715,7 +715,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "adlists", " title="Lease type: IPv
Remaining lease time:
DHCP UID: "> "> - +