Skip to content

Commit

Permalink
fix gateway branch name validation (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder authored Dec 9, 2020
1 parent d8f2060 commit 4895fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/path/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
Separator = "/"

rePath = "(?P<path>.*)"
reReference = "(?P<ref>[a-z0-9\\-]+)"
reReference = `(?P<ref>\w[-\w]*)`
)

var (
Expand Down

0 comments on commit 4895fae

Please sign in to comment.