фикс xss

This commit is contained in:
GeorgNation 2024-07-19 13:18:55 +06:00 committed by GitHub
parent 099bc1b2c5
commit d76400797f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ class Update
} }
if (strpos($key, 'OnMain') === false) { if (strpos($key, 'OnMain') === false) {
$dataArray[$paramKey]['value'] = $value; $dataArray[$paramKey]['value'] = htmlentities($value);
} }
} }
} }