2.6-rc1
This commit is contained in:
parent
c4e6bcf5d9
commit
be72040466
@ -74,6 +74,10 @@ var bypassTests = []struct {
|
||||
{[]string{"www.example.*"}, false, "www.example.com", true},
|
||||
{[]string{"www.example.*"}, false, "www.example.io", true},
|
||||
{[]string{"www.example.*"}, false, "www.example.com.cn", true},
|
||||
|
||||
{[]string{".example.com"}, false, "www.example.com", true},
|
||||
{[]string{".example.com"}, false, "example.com", true},
|
||||
{[]string{".example.com"}, false, "www.example.com.cn", false},
|
||||
}
|
||||
|
||||
func TestBypass(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user