Skip to content

Commit

Permalink
Fixing valid-id in regex
Browse files Browse the repository at this point in the history
Signed-off-by: rajasec <rajasec79@gmail.com>
  • Loading branch information
rajasec committed Mar 14, 2016
1 parent 3237cad commit d4be340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/factory_linux.go
Expand Up @@ -26,7 +26,7 @@ const (
)

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

Expand Down

0 comments on commit d4be340

Please sign in to comment.