From 99ee95d46c3e14cb902493df3201a2c1ad9d6dc5 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 11 Nov 2013 15:41:03 +0100 Subject: [PATCH] Added missing escaping --- lib/private/preview/movies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/preview/movies.php b/lib/private/preview/movies.php index 7c9f009a9c6..7e012ec44aa 100644 --- a/lib/private/preview/movies.php +++ b/lib/private/preview/movies.php @@ -60,7 +60,7 @@ if (!\OC_Util::runningOnWindows()) { ' -i ' . escapeshellarg($absPath) . ' -f mjpeg -vframes 1' . ' -s ' . escapeshellarg($maxX) . 'x' . escapeshellarg($maxY) . - ' ' . $tmpPath . + ' ' . escapeshellarg($tmpPath) . ' > /dev/null 2>&1'; }