allowlist-manager
allowlist-manager copied to clipboard
Add more restrictive whitelist per URL, instead of just domain
+1. It would be nice to be able to filter also by url not only by domain, e.g.
bla.com/images/*
I saw some code in
src/utils/glob/src/index.js
but I have no clue if it is active and how to make use of it:
// Allow all subdomains if none was specified.
if (simpleDomain.test(glob)) {
regexp = `(.+\\.)?${regexp}`
}
Thanks for reminding me. I'll try to come back to this when I have some free time, but feel free to debug, poke around, and report back, if you have the time.