Skip to content

Commit

Permalink
Fix encoding of HOST_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Sep 4, 2024
1 parent b40c8f8 commit c8fffd0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ProcessMaker/ScriptRunners/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ private function getEnvironmentVariables($useEscape = true)
});

// Add the url to the host
$variablesParameter[] = 'HOST_URL=' . escapeshellarg(config('app.docker_host_url'));
if ($useEscape) {
$variablesParameter[] = 'HOST_URL=' . escapeshellarg(config('app.docker_host_url'));
} else {
$variablesParameter[] = 'HOST_URL=' . config('app.docker_host_url');
}

return $variablesParameter;
}
Expand Down

0 comments on commit c8fffd0

Please sign in to comment.