1
0
Fork 0

Merge branch v2.11 into v3.3

This commit is contained in:
romain 2025-03-31 10:03:17 +02:00
commit e817d822d7
6 changed files with 39 additions and 7 deletions

View file

@ -67,7 +67,7 @@ func clientIP(tree *matchersTree, clientIP ...string) error {
return nil
}
var hostOrIP = regexp.MustCompile(`^[[:alnum:]\.\-\:]+$`)
var hostOrIP = regexp.MustCompile(`^[[:word:]\.\-\:]+$`)
// hostSNI checks if the SNI Host of the connection match the matcher host.
func hostSNI(tree *matchersTree, hosts ...string) error {