forked from TrueCloudLab/distribution
Fix separator regex
Signed-off-by: Chris K. Wong <chriskw.xyz@gmail.com>
This commit is contained in:
parent
362910506b
commit
d1c186812e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ const (
|
|||
// supporting repeated dash was added. Additionally double underscore is
|
||||
// now allowed as a separator to loosen the restriction for previously
|
||||
// supported names.
|
||||
separator = `(?:[._]|__|[-]*)`
|
||||
separator = `(?:[._]|__|[-]+)`
|
||||
|
||||
// localhost is treated as a special value for domain-name. Any other
|
||||
// domain-name without a "." or a ":port" are considered a path component.
|
||||
|
|
Loading…
Reference in a new issue