Fix `destination_is` errors seen in sentry. (#13041)
* Rename test_fedclient to match its source file
* Require at least one destination to be truthy
* Explicitly validate user ID in profile endpoint GETs
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
Showing
- changelog.d/13041.bugfix 2 additions, 0 deletionschangelog.d/13041.bugfix
- synapse/http/matrixfederationclient.py 5 additions, 2 deletionssynapse/http/matrixfederationclient.py
- synapse/rest/client/profile.py 16 additions, 4 deletionssynapse/rest/client/profile.py
- synapse/types.py 2 additions, 1 deletionsynapse/types.py
- tests/http/test_matrixfederationclient.py 14 additions, 0 deletionstests/http/test_matrixfederationclient.py
- tests/rest/client/test_profile.py 8 additions, 0 deletionstests/rest/client/test_profile.py
- tests/test_types.py 12 additions, 1 deletiontests/test_types.py
Loading
Please register or sign in to comment