Skip to content

Commit 887ed49

Browse files
committed
Revert "escape shell args"
This reverts commit cbfb53a.
1 parent e0018d6 commit 887ed49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page.backup_restore.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function callback(&$var) {
168168
$cmd = $amp_conf['AMPBIN'] . '/restore.php --restore='
169169
. escapeshellarg($_SESSION['backup_restore_path'])
170170
. ' --items='
171-
. escapeshellarg(base64_encode(json_encode($restore)))
171+
. base64_encode(json_encode($restore))
172172
. ' 2>&1';
173173
if(!$reconnect){
174174
//start running backup

0 commit comments

Comments
 (0)