From 6ba15545d9cf35d483f5a86606c2b82869813456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20D=C4=85browski?= Date: Tue, 11 Nov 2025 13:22:03 +0100 Subject: [PATCH] fix: escape slashes in environment variable values during update (#8081) --- deployments/cli/community/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deployments/cli/community/install.sh b/deployments/cli/community/install.sh index e2e89814d..c26fba22b 100755 --- a/deployments/cli/community/install.sh +++ b/deployments/cli/community/install.sh @@ -141,6 +141,7 @@ function updateEnvFile() { value=$(echo "$value" | sed 's/|/\\|/g') sed -i '' "s|^$key=.*|$key=$value|g" "$file" else + value=$(echo "$value" | sed 's/\//\\\//g') sed -i "s/^$key=.*/$key=$value/g" "$file" fi fi