synapse-product/tests/rest
Andrew Morgan 094896a69d
Add a config option for validating 'next_link' parameters against a domain whitelist (#8275)
This is a config option ported over from DINUM's Sydent: https://github.com/matrix-org/sydent/pull/285

They've switched to validating 3PIDs via Synapse rather than Sydent, and would like to retain this functionality.

This original purpose for this change is phishing prevention. This solution could also potentially be replaced by a similar one to https://github.com/matrix-org/synapse/pull/8004, but across all `*/submit_token` endpoint.

This option may still be useful to enterprise even with that safeguard in place though, if they want to be absolutely sure that their employees don't follow links to other domains.
2020-09-08 16:03:09 +01:00
..
admin Allow for make_awaitable's return value to be re-used. (#8261) 2020-09-08 07:26:55 -04:00
client Add a config option for validating 'next_link' parameters against a domain whitelist (#8275) 2020-09-08 16:03:09 +01:00
key Convert federation client to async/await. (#7975) 2020-07-30 08:01:33 -04:00
media Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
test_health.py Add health check endpoint (#8048) 2020-08-07 14:21:24 +01:00
test_well_known.py Run Black on the tests again (#5170) 2019-05-10 00:12:11 -05:00