mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 18:19:14 -05:00
fix Docker exec from replacing + with a space (fixes #182)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
$docroot = $docroot ?: @$_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
|
||||
if ( isset( $_GET['cmd'] )) {
|
||||
$command = urldecode(($_GET['cmd']));
|
||||
$command = rawurldecode(($_GET['cmd']));
|
||||
$descriptorspec = [
|
||||
0 => ["pipe", "r"], // stdin is a pipe that the child will read from
|
||||
1 => ["pipe", "w"], // stdout is a pipe that the child will write to
|
||||
|
||||
Reference in New Issue
Block a user