corrects case where there might be multiple matching allowed domains
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user