Escape potential HTML characters in the API Key name, as this is used in logs

This commit is contained in:
Marcus Hill 2023-01-02 14:38:52 +00:00
parent 1aa87ccaeb
commit 447f20c91c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ if (isset($api_key)) {
// Set client ID, company ID & key name
$row = mysqli_fetch_array($sql);
$api_key_name = $row['api_key_name'];
$api_key_name = htmlentities($row['api_key_name']);
$client_id = $row['api_key_client_id'];
$company_id = $row['company_id'];