updated vendor
This commit is contained in:
+2
-2
@@ -24,8 +24,8 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Detect more complex forms of local references.
|
||||
var reLocal = regexp.MustCompile(`.*\.local(?:host)?(?::\d{1,5})?$`)
|
||||
// Detect more complex forms of localhost references.
|
||||
var reLocal = regexp.MustCompile(`.*\.localhost(?::\d{1,5})?$`)
|
||||
|
||||
// Detect the loopback IP (127.0.0.1)
|
||||
var reLoopback = regexp.MustCompile(regexp.QuoteMeta("127.0.0.1"))
|
||||
|
||||
Reference in New Issue
Block a user