Merge branch 'main' into next

This commit is contained in:
Andras Bacsai 2024-03-20 16:42:55 +01:00
commit 7bc5338cb3

View File

@ -1377,7 +1377,7 @@ private function generate_environment_variables($ports)
// Old environment variables are not escaped, because it could break the application
// as the application could expect the unescaped value.
if ($env->version === '4.0.0-beta.239') {
$real_value = $env->value;
$real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}
@ -1385,7 +1385,7 @@ private function generate_environment_variables($ports)
}
foreach ($this->application->nixpacks_environment_variables as $env) {
if ($env->version === '4.0.0-beta.239') {
$real_value = $env->value;
$real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}
@ -1394,7 +1394,7 @@ private function generate_environment_variables($ports)
} else {
foreach ($this->application->runtime_environment_variables_preview as $env) {
if ($env->version === '4.0.0-beta.239') {
$real_value = $env->value;
$real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}
@ -1402,7 +1402,7 @@ private function generate_environment_variables($ports)
}
foreach ($this->application->nixpacks_environment_variables_preview as $env) {
if ($env->version === '4.0.0-beta.239') {
$real_value = $env->value;
$real_value = $env->real_value;
} else {
$real_value = escapeEnvVariables($env->real_value);
}