Merge pull request #31 from estesp/allow-hyphen-in-id
Allow hyphen in "id" (based on `cwd` pathname)
This commit is contained in:
commit
f49826cf7e
|
@ -26,7 +26,7 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
idRegex = regexp.MustCompile(`^[\w_]+$`)
|
idRegex = regexp.MustCompile(`^[\w_-]+$`)
|
||||||
maxIdLen = 1024
|
maxIdLen = 1024
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue