summary refs log tree commit diff
path: root/synapse/media/url_previewer.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename blacklist/whitelist internally. (#15620)Patrick Cloke2023-05-191-8/+8
| | | | Avoid renaming configuration settings for now and rename internal code to use blocklist and allowlist instead.
* Apply url_preview_url_blacklist to oEmbed and pre-cached images (#15601)Patrick Cloke2023-05-161-46/+75
| | | | | | | | 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.
* Separate HTTP preview code and URL previewer. (#15269)Patrick Cloke2023-03-201-0/+833
Separates REST layer code from the actual URL previewing.