mirror of https://github.com/itflow-org/itflow
Escape potential HTML characters in the API Key name, as this is used in logs
This commit is contained in:
parent
1aa87ccaeb
commit
447f20c91c
|
|
@ -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'];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue