diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-09-29 12:36:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 12:36:44 +0100 |
commit | 1c6b8752b891c1a25524d8dfaa8efb7176c0dbec (patch) | |
tree | 38b6720705ee6fdd4de6b436b87b62ef0e019444 /synapse/notifier.py | |
parent | Add metrics to track success/otherwise of replication requests (#8406) (diff) | |
download | synapse-1c6b8752b891c1a25524d8dfaa8efb7176c0dbec.tar.xz |
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.
Diffstat (limited to 'synapse/notifier.py')
0 files changed, 0 insertions, 0 deletions