From d61e57099ee426daae33d4bb92d55a8711ed2a37 Mon Sep 17 00:00:00 2001 From: Maks <60165+34x@users.noreply.github.com> Date: Mon, 2 Mar 2026 11:26:44 +0100 Subject: [PATCH] :bug: Make boolean environment variable parsing case-insensitive (#8500) Resolves configuration validation errors when boolean environment variables are provided with mixed case (e.g., PENPOT_TELEMETRY_ENABLED=True). The parse-boolean function now handles all string variations: true, True, TRUE, false, False, FALSE. opencode/Bug-Hunter @ ollama/GLM4.6 with Love Signed-off-by: Max <60165+34x@users.noreply.github.com> --- common/src/app/common/schema.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/schema.cljc b/common/src/app/common/schema.cljc index 16bc20d5f4..87d0784969 100644 --- a/common/src/app/common/schema.cljc +++ b/common/src/app/common/schema.cljc @@ -863,7 +863,7 @@ (defn parse-boolean [v] (if (string? v) - (case v + (case (str/lower v) ("true" "t" "1") true ("false" "f" "0") false v)