From 149b8f70d8e33baf75ccf89abcfa775905277fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tar=C4=B1k=20Yal=C3=A7=C4=B1nkaya?= Date: Sun, 22 Jun 2025 04:09:21 +0300 Subject: [PATCH] fix: allow dot character in project name validation (#2042) --- apps/dokploy/components/dashboard/projects/handle-project.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/projects/handle-project.tsx b/apps/dokploy/components/dashboard/projects/handle-project.tsx index ddc1303e..01d66fba 100644 --- a/apps/dokploy/components/dashboard/projects/handle-project.tsx +++ b/apps/dokploy/components/dashboard/projects/handle-project.tsx @@ -38,7 +38,7 @@ const AddProjectSchema = z.object({ (name) => { const trimmedName = name.trim(); const validNameRegex = - /^[\p{L}\p{N}_-][\p{L}\p{N}\s_-]*[\p{L}\p{N}_-]$/u; + /^[\p{L}\p{N}_-][\p{L}\p{N}\s_.-]*[\p{L}\p{N}_-]$/u; return validNameRegex.test(trimmedName); }, {