mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
removed unnecessary single quotes for security reasons / thanks to Andrea Cardaci
This commit is contained in:
parent
c9bf443c6a
commit
b17b4b205d
15 changed files with 65 additions and 62 deletions
|
@ -20,7 +20,7 @@ if (empty($_GET['rule'])) {
|
|||
|
||||
// List rule
|
||||
$v_rule = escapeshellarg($_GET['rule']);
|
||||
exec (VESTA_CMD."v-list-firewall-rule ".$v_rule." 'json'", $output, $return_var);
|
||||
exec (VESTA_CMD."v-list-firewall-rule ".$v_rule." json", $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue