mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Adding escapeshellarg on few more places in php code
This commit is contained in:
parent
b6cadcd992
commit
c377e19df8
4 changed files with 6 additions and 6 deletions
|
@ -356,7 +356,7 @@ if (!empty($_POST['save'])) {
|
|||
// Change remote backup host type
|
||||
if (empty($_SESSION['error_msg'])) {
|
||||
if ((!empty($_POST['v_backup_host'])) && ($_POST['v_backup_type'] != $v_backup_type)) {
|
||||
exec (VESTA_CMD."v-delete-backup-host ". $v_backup_type, $output, $return_var);
|
||||
exec (VESTA_CMD."v-delete-backup-host " . escapeshellarg($v_backup_type), $output, $return_var);
|
||||
unset($output);
|
||||
|
||||
$v_backup_host = escapeshellarg($_POST['v_backup_host']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue