Fix list_verify XSS

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2018-01-19 16:57:47 -05:00
parent c6ff6d2b8a
commit ad614a2b93

View File

@@ -146,7 +146,7 @@ function list_verify($type) {
require("password.php");
if($wrongpassword || !$auth)
{
log_and_die("Wrong password - ".htmlspecialchars($type)."listing of ${_POST['domain']} not permitted");
log_and_die("Wrong password - ".htmlspecialchars($type)."listing of ".htmlspecialchars($_POST['domain'])." not permitted");
}
}
else