summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorDenis Kasak <dkasak@termina.org.uk>2022-02-10 15:43:01 +0000
committerGitHub <noreply@github.com>2022-02-10 15:43:01 +0000
commit337f38cac38bc57bc6a3cc8b319e3079c60c4549 (patch)
tree15d58bea7ff37ac3d515c93984fc49417d670941 /changelog.d
parentFix broken link in README to admin API. (#11955) (diff)
downloadsynapse-337f38cac38bc57bc6a3cc8b319e3079c60c4549.tar.xz
Implement a content type allow list for URL previews (#11936)
This implements an allow list for content types for which Synapse will attempt URL preview. If a URL resolves to a resource with a content type which isn't in the list, the download will terminate immediately.

This makes sense given that Synapse would never successfully generate a URL preview for such files in the first place, and helps prevent issues with streaming media servers, such as #8302.

Signed-off-by: Denis Kasak dkasak@termina.org.uk
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/11936.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11936.bugfix b/changelog.d/11936.bugfix
new file mode 100644
index 0000000000..bc149f2801
--- /dev/null
+++ b/changelog.d/11936.bugfix
@@ -0,0 +1 @@
+Implement an allow list of content types for which we will attempt to preview a URL. This prevents Synapse from making useless longer-lived connections to streaming media servers.