@@ -1976,9 +1976,10 @@ This will not prevent the listed domains from accessing media themselves.
19761976It simply prevents users on this server from downloading media originating
19771977from the listed servers.
19781978
1979- This will have no effect on media originating from the local server.
1980- This only affects media downloaded from other Matrix servers, to
1981- block domains from URL previews see [`url_preview_url_blacklist`](#url_preview_url_blacklist).
1979+ This will have no effect on media originating from the local server. This only
1980+ affects media downloaded from other Matrix servers, to control URL previews see
1981+ [`url_preview_ip_range_blacklist`](#url_preview_ip_range_blacklist) or
1982+ [`url_preview_url_blacklist`](#url_preview_url_blacklist).
19821983
19831984Defaults to an empty list (nothing blocked).
19841985
@@ -2130,12 +2131,14 @@ url_preview_ip_range_whitelist:
21302131---
21312132# ## `url_preview_url_blacklist`
21322133
2133- Optional list of URL matches that the URL preview spider is
2134- denied from accessing. You should use `url_preview_ip_range_blacklist`
2135- in preference to this, otherwise someone could define a public DNS
2136- entry that points to a private IP address and circumvent the blacklist.
2137- This is more useful if you know there is an entire shape of URL that
2138- you know that will never want synapse to try to spider.
2134+ Optional list of URL matches that the URL preview spider is denied from
2135+ accessing. This is a usability feature, not a security one. You should use
2136+ ` url_preview_ip_range_blacklist` in preference to this, otherwise someone could
2137+ define a public DNS entry that points to a private IP address and circumvent
2138+ the blacklist. Applications that perform redirects or serve different content
2139+ when detecting that Synapse is accessing them can also bypass the blacklist.
2140+ This is more useful if you know there is an entire shape of URL that you know
2141+ that you do not want Synapse to preview.
21392142
21402143Each list entry is a dictionary of url component attributes as returned
21412144by urlparse.urlsplit as applied to the absolute form of the URL. See
0 commit comments