In homeserver.yaml we have:
url_preview_ip_range_blacklist:
...
url_preview_ip_range_whitelist:
...
url_preview_url_blacklist:
I propose adding
url_preview_url_whitelist:
Using the same urlparse scheme as the blacklist.
Instead of blacklisting 99% of domains, one could whitelist just a few - which might have dynamic IP addresses, or IPs that host multiple sites with potentially malicious/invasive owners.
Example:
url_preview_url_whitelist:
- netloc: 'my_site.com'
- netloc: '*.my_site.com'
- netloc: 'another_acceptable_site.com' # with the same IP as an unacceptable site
In
homeserver.yamlwe have:I propose adding
url_preview_url_whitelist:Using the same urlparse scheme as the blacklist.
Instead of blacklisting 99% of domains, one could whitelist just a few - which might have dynamic IP addresses, or IPs that host multiple sites with potentially malicious/invasive owners.
Example: