mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 11:24:52 +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
|
// Set client ID, company ID & key name
|
||||||
$row = mysqli_fetch_array($sql);
|
$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'];
|
$client_id = $row['api_key_client_id'];
|
||||||
$company_id = $row['company_id'];
|
$company_id = $row['company_id'];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user