Auth TLS: Add _
to redirect RegEx. (#12325)
This commit is contained in:
parent
ca81d5bcdd
commit
7f0350b4b3
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ const (
|
|||
|
||||
var (
|
||||
authVerifyClientRegex = regexp.MustCompile(`^(on|off|optional|optional_no_ca)$`)
|
||||
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\-_.]+)*/?$`)
|
||||
)
|
||||
|
||||
var authTLSAnnotations = parser.Annotation{
|
||||
|
|
Loading…
Reference in a new issue