diff --git a/emhttp/plugins/dynamix/DeviceInfo.page b/emhttp/plugins/dynamix/DeviceInfo.page index b8479d378..b2d7b39fe 100755 --- a/emhttp/plugins/dynamix/DeviceInfo.page +++ b/emhttp/plugins/dynamix/DeviceInfo.page @@ -770,7 +770,7 @@ _(Critical disk utilization threshold)_ (%):
_(pool device stats)_: -: " . htmlspecialchars(shell_exec("/sbin/btrfs dev stats -T /mnt/$tag"), ENT_QUOTES, 'UTF-8') . ""; ?> +: " . htmlspecialchars(shell_exec("/sbin/btrfs dev stats -T ".escapeshellarg("/mnt/$tag")), ENT_QUOTES, 'UTF-8') . ""; ?> @@ -784,11 +784,11 @@ _(pool device stats)_:
_(Balance Status)_
- - + + _(btrfs filesystem usage)_: -: " . htmlspecialchars(shell_exec("/sbin/btrfs fi usage -T /mnt/$tag"), ENT_QUOTES, 'UTF-8') . ""; ?> +: " . htmlspecialchars(shell_exec("/sbin/btrfs fi usage -T ".escapeshellarg("/mnt/$tag")), ENT_QUOTES, 'UTF-8') . ""; ?> _(btrfs balance status)_: : ".implode("\n", $balance_status).""?> @@ -901,7 +901,7 @@ _(Block group usage)_ (%):
_(Scrub Status)_
- + _(btrfs scrub status)_: : ".implode("\n", $scrub_status).""?> @@ -1034,7 +1034,7 @@ _(btrfs check status)_:
_(Pool Status)_
- + _(zfs pool status)_: @@ -1068,7 +1068,7 @@ _(zfs pool status)_:
_(Pool Information)_
- + _(zfs pool information)_: :