allow period for the alias regex

This commit is contained in:
Carlosokumu
2025-01-21 13:15:53 +03:00
parent 26b53c79df
commit 3e859d3469
+1 -1
View File
@@ -5,7 +5,7 @@ import (
)
const (
aliasRegex = `^[a-zA-Z0-9.]+$`
aliasRegex = `^[a-zA-Z0-9]+(\.[a-zA-Z0.9]+)*$`
)
// IsValidAlias checks if the alias is a valid alias format