corrects case where there might be multiple matching allowed domains
This commit is contained in:
parent
21193b4faa
commit
fbbc922b04
@ -47,8 +47,8 @@ func cleanBadDomains(domains []string) []string {
|
||||
break
|
||||
}
|
||||
if r.MatchString(v) {
|
||||
log.Printf("[DEBUG] Removing allowed matching item: %s\n", v)
|
||||
domains = removeStringFromSlice(domains, k)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user