mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Escape potential HTML characters in the API Key name, as this is used in logs
This commit is contained in:
@@ -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'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user