Fix potential XSS
This commit is contained in:
@@ -7,7 +7,7 @@ if (isset($_SERVER['PHP_AUTH_USER']))
|
|||||||
else
|
else
|
||||||
$PHPki_user = md5('default');
|
$PHPki_user = md5('default');
|
||||||
|
|
||||||
$PHP_SELF = $_SERVER['PHP_SELF'];
|
$PHP_SELF = htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, "utf-8");
|
||||||
|
|
||||||
|
|
||||||
function printHeader($withmenu="default") {
|
function printHeader($withmenu="default") {
|
||||||
|
Reference in New Issue
Block a user