Skip to content

Commit c8fffd0

Browse files
committed
Fix encoding of HOST_URL
1 parent b40c8f8 commit c8fffd0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎ProcessMaker/ScriptRunners/Base.php‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,11 @@ private function getEnvironmentVariables($useEscape = true)
184184
});
185185

186186
// Add the url to the host
187-
$variablesParameter[] = 'HOST_URL=' . escapeshellarg(config('app.docker_host_url'));
187+
if ($useEscape) {
188+
$variablesParameter[] = 'HOST_URL=' . escapeshellarg(config('app.docker_host_url'));
189+
} else {
190+
$variablesParameter[] = 'HOST_URL=' . config('app.docker_host_url');
191+
}
188192

189193
return $variablesParameter;
190194
}

0 commit comments

Comments
 (0)