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: ">