Merge pull request #647 from rajasec/valid-id

Fixing valid-id in regex
This commit is contained in:
Mrunal Patel 2016-03-18 09:38:56 -07:00
commit 54a6e56004
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ const (
)
var (
idRegex = regexp.MustCompile(`^[\w_-]+$`)
idRegex = regexp.MustCompile(`^[\w-\.]+$`)
maxIdLen = 1024
)