mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-30 19:29:17 +01:00
fix: prohibit dot in board name (#2643)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user