From b44b7ac49e71f65957918b79cd347caea964d301 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 13 Jan 2026 17:12:16 +0100 Subject: [PATCH] fix: switch custom labels check to UTF-8 - this allows more characters then ASCII --- app/Models/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Application.php b/app/Models/Application.php index 59b46f7e7..d6c222a97 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -1659,7 +1659,7 @@ public function parseContainerLabels(?ApplicationPreview $preview = null) $this->custom_labels = base64_encode($customLabels); } $customLabels = base64_decode($this->custom_labels); - if (mb_detect_encoding($customLabels, 'ASCII', true) === false) { + if (mb_detect_encoding($customLabels, 'UTF-8', true) === false) { $customLabels = str(implode('|coolify|', generateLabelsApplication($this, $preview)))->replace('|coolify|', "\n"); } $this->custom_labels = base64_encode($customLabels);