mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Merge pull request #71 from serghey-rodin/master
Adding escapeshellarg on few more places in php code
This commit is contained in:
commit
850fa1a27b
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