mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
removing single quote from escapeshellarg calls
This commit is contained in:
parent
c28c5d29a3
commit
ab95d5d88d
3 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@ if (empty($_GET['domain'])){
|
|||
|
||||
render_page($user, $TAB, 'list_dns');
|
||||
} else {
|
||||
exec (VESTA_CMD."v-list-dns-records '".$user."' '".escapeshellarg($_GET['domain'])."' 'json'", $output, $return_var);
|
||||
exec (VESTA_CMD."v-list-dns-records ".$user." ".escapeshellarg($_GET['domain'])." json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data, true);
|
||||
unset($output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue