1
0
Files
synapse/changelog.d/65.bugfix
Andrew Morgan 11523b507b Only assert valid next_link params when provided (#65)
Bug introduced in https://github.com/matrix-org/synapse-dinsic/commit/ff91a451b

We were checking whether the `nextLink` param was valid, even if it wasn't provided. In that case, `nextLink` was `None`, which would clearly not be a valid URL.

This would prevent password reset and other operations if `nextLink` was not provided and the `next_link_domain_whitelist` config option was in use.
2020-09-29 12:02:21 +01:00

1 line
108 B
Plaintext

Fix `nextLink` parameters being checked on validation endpoints even if they weren't provided by the client.