From 6c34be843644fbec0ba35dcea510856c0fb98d25 Mon Sep 17 00:00:00 2001 From: Tim Curtis Date: Thu, 6 Feb 2025 15:40:34 -0500 Subject: [PATCH] [cdsp.php] Fix call to cdsp_config_update.py Enclose $configFullPath in double quotes --- www/inc/cdsp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/inc/cdsp.php b/www/inc/cdsp.php index 532a90ed..b7e5d15d 100644 --- a/www/inc/cdsp.php +++ b/www/inc/cdsp.php @@ -267,7 +267,7 @@ function checkConfigFile($configName) { function upgradeConfigFile($configName) { $configFullPath = $this->CAMILLA_CONFIG_DIR . '/configs/' . $configName; - exec("/var/www/util/cdsp_config_update.py ".$configFullPath, $output, $exitcode); + exec('/var/www/util/cdsp_config_update.py "' . $configFullPath . '"', $output, $exitcode); return $this->checkConfigFile($configName); }