anonymousland-synapse/tests/rest/client
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
..
v1 Allow appservice users to /login (#8320) 2020-09-18 14:55:13 +01:00
v2_alpha Only assert valid next_link params when provided (#8417) 2020-09-29 12:36:44 +01:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
test_consent.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_ephemeral_message.py Add ephemeral messages support (MSC2228) (#6409) 2019-12-03 19:19:45 +00:00
test_identity.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_power_levels.py Default PL100 to enable encryption in a room (#7230) 2020-04-09 18:45:38 +01:00
test_redactions.py Fix comments 2019-09-11 13:54:50 +01:00
test_retention.py Remove unused parameter from, and add safeguard in, get_room_data (#8174) 2020-08-26 15:07:35 +01:00
test_shadow_banned.py Remove remaining is_guest argument uses from get_room_data calls (#8181) 2020-08-26 17:26:56 +01:00
test_transactions.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
third_party_rules.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00