After fixing #2 , it's clear that in order to accurately match things, the filter db collection's method to fetch all rules for a specific domain must decompose that input domain into all possible subdomains, and include those results as potentially matching filters as well.
Since we'll be for-looping these lookups now, a transaction should be created to wrap the command creation.
After fixing #2 , it's clear that in order to accurately match things, the filter db collection's method to fetch all rules for a specific domain must decompose that input domain into all possible subdomains, and include those results as potentially matching filters as well.
Since we'll be for-looping these lookups now, a transaction should be created to wrap the command creation.