We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7965eee commit 2035916Copy full SHA for 2035916
pkg/lib/urls/urls.go
@@ -26,7 +26,7 @@ import (
26
27
var (
28
dns1035Regex = regexp.MustCompile(`^[a-z]([-a-z0-9]*[a-z0-9])?$`)
29
- dns1123Regex = regexp.MustCompile(`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`)
+ dns1123Regex = regexp.MustCompile(`^[a-z0-9]([-a-z0-9]*[a-z0-9])?$`)
30
)
31
32
func Parse(rawurl string) (*url.URL, error) {
0 commit comments