mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 06:50:52 +00:00
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 |
||
---|---|---|
.. | ||
__init__.py | ||
test_base.py | ||
test_filepath.py | ||
test_html_preview.py | ||
test_media_storage.py | ||
test_oembed.py | ||
test_url_preview.py |