synapse/tests/rest/media
Patrick Cloke 4ee82c0576
Apply url_preview_url_blacklist to oEmbed and pre-cached images (#15601)
There are two situations which were previously not properly checked:

1. If the requested URL was replaced with an oEmbed URL, then the
   oEmbed URL was not checked against url_preview_url_blacklist.
2. Follow-up URLs (either via autodiscovery of oEmbed or to pre-cache
   images) were not checked against url_preview_url_blacklist.
2023-05-16 16:25:01 -04:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_domain_blocking.py Add config option to prevent media downloads from listed domains. (#15197) 2023-05-09 14:08:51 -04:00
test_media_retention.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_url_preview.py Apply url_preview_url_blacklist to oEmbed and pre-cached images (#15601) 2023-05-16 16:25:01 -04:00