Auth TLS: Add _
to redirect RegEx. (#12328)
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
parent
2ed891b4b2
commit
8d859f95e9
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