MatrixSynapse/tests/rest
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
..
admin Fixed a bug with reactivating users with the admin API (#8362) 2020-09-22 18:19:01 +01:00
client Only assert valid next_link params when provided (#8417) 2020-09-29 12:36:44 +01:00
key Convert federation client to async/await. (#7975) 2020-07-30 08:01:33 -04:00
media
__init__.py
test_health.py
test_well_known.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00