synapse-product/synapse/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 Admin API for reported events (#8217) 2020-09-22 18:15:04 +01:00
client Only assert valid next_link params when provided (#8417) 2020-09-29 12:36:44 +01:00
consent Remove unnecessary maybeDeferred calls (#8044) 2020-08-07 09:44:48 -04:00
key Fix typos in comments. 2020-09-14 11:46:58 -04:00
media Add type annotations to SimpleHttpClient (#8372) 2020-09-24 15:47:20 +01:00
oidc Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
saml2 Improve SAML error messages (#8248) 2020-09-14 09:05:36 -04:00
synapse Show a confirmation page during user password reset (#8004) 2020-09-10 11:45:12 +01:00
__init__.py Show a confirmation page during user password reset (#8004) 2020-09-10 11:45:12 +01:00
health.py Add health check endpoint (#8048) 2020-08-07 14:21:24 +01:00
well_known.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00