mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixing a scrut issue for xss
This commit is contained in:
@@ -63,8 +63,7 @@ var grid = $("#eventlog").bootgrid({
|
||||
{
|
||||
return {
|
||||
id: "eventlog",
|
||||
string: '<?php echo $_POST['string']; ?>',
|
||||
device: '<?php echo $_POST['device']; ?>'
|
||||
device: '<?php echo htmlspecialchars($_POST['device']); ?>'
|
||||
};
|
||||
},
|
||||
url: "/ajax_table.php"
|
||||
|
||||
Reference in New Issue
Block a user