summary refs log tree commit diff
path: root/changelog.d/12087.bugfix
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-03-21 11:23:32 +0000
committerGitHub <noreply@github.com>2022-03-21 11:23:32 +0000
commitafa17f0eabf06087d53697eafc748f7c935fb13f (patch)
tree7e8917ce179c871e3efd41a086aa1ca75cdcd5c3 /changelog.d/12087.bugfix
parentTry to detect borked package installations. (#12244) (diff)
downloadsynapse-afa17f0eabf06087d53697eafc748f7c935fb13f.tar.xz
Return a 404 from `/state` for an outlier (#12087)
* Replace `get_state_for_pdu` with  `get_state_ids_for_pdu` and `get_events_as_list`.
* Return a 404 from `/state` and `/state_ids` for an outlier
Diffstat (limited to 'changelog.d/12087.bugfix')
-rw-r--r--changelog.d/12087.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12087.bugfix b/changelog.d/12087.bugfix
new file mode 100644
index 0000000000..6dacdddd0d
--- /dev/null
+++ b/changelog.d/12087.bugfix
@@ -0,0 +1 @@
+Fix a long-standing bug which caused the `/_matrix/federation/v1/state` and `.../state_ids` endpoints to return incorrect or invalid data when called for an event which we have stored as an "outlier".