Skip to content

Commit 29bb899

Browse files
authored
Update index.php
We have to use the function "stripcslashes" otherwise I won't work correctly tariqbuilds#427
1 parent 12d3817 commit 29bb899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/server/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
$shell_file = dirname(__FILE__) . '/linux_json_api.sh';
66
$module = escapeshellcmd($_GET['module']);
77

8-
echo shell_exec( $shell_file . " " . $module );
8+
echo stripcslashes(shell_exec( $shell_file . " " . $module ));

0 commit comments

Comments
 (0)