forked-synapse/synapse/rest/client/v2_alpha
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Do not convert async functions to Deferreds in the interactive_auth_handler (#7944) 2020-07-24 09:43:49 -04:00
account_data.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
account_validity.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
account.py Only assert valid next_link params when provided (#8417) 2020-09-29 12:36:44 +01:00
auth.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
capabilities.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
devices.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
filter.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
groups.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
keys.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
notifications.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
openid.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
password_policy.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
read_marker.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
receipts.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
register.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
relations.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
report_event.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_keys.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_upgrade_rest_servlet.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
sendtodevice.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
shared_rooms.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
sync.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
tags.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
thirdparty.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
tokenrefresh.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
user_directory.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00