fix: prohibit dot in board name (#2643)

This commit is contained in:
Manuel
2025-03-19 08:26:18 +00:00
committed by GitHub
parent 4cc37397c2
commit bb8cb6dded

View File

@@ -22,7 +22,7 @@ const boardNameSchema = z
.string()
.min(1)
.max(255)
.regex(/^[A-Za-z0-9-\\._]*$/);
.regex(/^[A-Za-z0-9-\\_]*$/);
const byNameSchema = z.object({
name: boardNameSchema,