0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 12:53:51 +01:00
synapse/tests/rest/client/v2_alpha
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
..
__init__.py Refactor REST API tests to use explicit reactors (#3351) 2018-07-17 20:43:18 +10:00
test_account.py Add a config option for validating 'next_link' parameters against a domain whitelist (#8275) 2020-09-08 16:03:09 +01:00
test_auth.py Do not validate that the client dict is stable during UI Auth. (#7483) 2020-05-13 14:26:44 -04:00
test_capabilities.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_filter.py Do not yield on awaitables in tests. (#8193) 2020-08-27 17:24:46 -04:00
test_password_policy.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
test_register.py Switch the JSON byte producer from a pull to a push producer. (#8116) 2020-08-19 08:07:57 -04:00
test_relations.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
test_shared_rooms.py Add /user/{user_id}/shared_rooms/ api (#7785) 2020-09-02 13:18:40 +01:00
test_sync.py Re-implement unread counts (again) (#8059) 2020-09-02 17:19:37 +01:00