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 af095e4 commit ca81d5bCopy full SHA for ca81d5b
internal/ingress/annotations/authtls/main.go
@@ -42,7 +42,7 @@ const (
42
43
var (
44
authVerifyClientRegex = regexp.MustCompile(`^(on|off|optional|optional_no_ca)$`)
45
- redirectRegex = regexp.MustCompile(`^((https?://)?[A-Za-z0-9\-.]*(:\d+)?/[A-Za-z0-9\-.]*)?$`)
+ redirectRegex = regexp.MustCompile(`^((https?://)?[A-Za-z0-9\-.]+(:\d+)?)?(/[A-Za-z0-9\-.]+)*/?$`)
46
)
47
48
var authTLSAnnotations = parser.Annotation{
0 commit comments