forked-synapse/tests/rest/client/v2_alpha
Andrew Morgan 1c6b8752b8
Only assert valid next_link params when provided (#8417)
Broken in https://github.com/matrix-org/synapse/pull/8275 and has yet to be put in a release. Fixes https://github.com/matrix-org/synapse/issues/8418.

`next_link` is an optional parameter. However, we were checking whether the `next_link` param was valid, even if it wasn't provided. In that case, `next_link` was `None`, which would clearly not be a valid URL.

This would prevent password reset and other operations if `next_link` was not provided, and the `next_link_domain_whitelist` config option was set.
2020-09-29 12:36:44 +01:00
..
__init__.py Refactor REST API tests to use explicit reactors (#3351) 2018-07-17 20:43:18 +10:00
test_account.py Only assert valid next_link params when provided (#8417) 2020-09-29 12:36:44 +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