From acbd58b0e55f3d7dd6228985dc1737026a674cd9 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Wed, 29 Mar 2017 23:30:05 -0300 Subject: [PATCH] remove escapeshellcmd to avoid errors with parenthesis in file names --- controller/pagecontroller.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php index 71a16cc..f390d42 100644 --- a/controller/pagecontroller.php +++ b/controller/pagecontroller.php @@ -206,9 +206,7 @@ class PageController extends Controller { $cmdparams .= " $shella"; } exec( - escapeshellcmd( - $gpsbabel_path.' '.$cmdparams - ), + $gpsbabel_path.' '.$cmdparams, $output, $returnvar ); if (file_exists($gpx_target_clear_path)){