@@ -1976,9 +1976,10 @@ This will not prevent the listed domains from accessing media themselves.
1976
1976
It simply prevents users on this server from downloading media originating
1977
1977
from the listed servers.
1978
1978
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).
1982
1983
1983
1984
Defaults to an empty list (nothing blocked).
1984
1985
@@ -2130,12 +2131,14 @@ url_preview_ip_range_whitelist:
2130
2131
---
2131
2132
# ## `url_preview_url_blacklist`
2132
2133
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.
2139
2142
2140
2143
Each list entry is a dictionary of url component attributes as returned
2141
2144
by urlparse.urlsplit as applied to the absolute form of the URL. See
0 commit comments