From 7e4560a3c339953cad933e4c1b54ba4b8eeefcb3 Mon Sep 17 00:00:00 2001 From: ehii Date: Wed, 12 Feb 2020 11:49:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EA=B0=84=EA=B2=B0?= =?UTF-8?q?=ED=95=98=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/file/file.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index 359d6d325..0a5e06462 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -1180,7 +1180,7 @@ class fileController extends file // Convert using ffmpeg if(strtoupper(substr(\PHP_OS, 0, 3)) === 'WIN') { - $command = '"'.$config->ffmpeg_command.'"'; + $command = escapeshellarg($config->ffmpeg_command); } else {