From c99b511db950bff5129e717a225de78b95b9b5ad Mon Sep 17 00:00:00 2001 From: David Robertson Date: Tue, 14 Jun 2022 18:28:26 +0100 Subject: 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 --- changelog.d/13041.bugfix | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelog.d/13041.bugfix (limited to 'changelog.d') diff --git a/changelog.d/13041.bugfix b/changelog.d/13041.bugfix new file mode 100644 index 0000000000..edb1635eb9 --- /dev/null +++ b/changelog.d/13041.bugfix @@ -0,0 +1,2 @@ +Fix a bug introduced in Synapse 1.58 where profile requests for a malformed user ID would ccause an internal error. Synapse now returns 400 Bad Request in this situation. + -- cgit 1.4.1