1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Chore: Tag names now allow . and must be a minimum of 1 character

This commit is contained in:
Ralph Slooten
2024-03-02 00:13:18 +13:00
parent 85473762c5
commit 23b1261cf9
3 changed files with 6 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ var (
SMTPCLITags string
// ValidTagRegexp represents a valid tag
ValidTagRegexp = regexp.MustCompile(`^([a-zA-Z0-9\-\ \_]){3,}$`)
ValidTagRegexp = regexp.MustCompile(`^([a-zA-Z0-9\-\ \_\.]){1,}$`)
// SMTPTags are expressions to apply tags to new mail
SMTPTags []AutoTag