diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-02-08 07:06:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 07:06:25 -0500 |
commit | 380c3d40f4e48c9cb871b7fe3488c42e1cad3883 (patch) | |
tree | 38f46d931a5ff3e935439f41d99dd167279abd30 /changelog.d/11930.bugfix | |
parent | Add a docstring to `add_device_change_to_streams` and fix some nearby types (... (diff) | |
download | synapse-380c3d40f4e48c9cb871b7fe3488c42e1cad3883.tar.xz |
Return JSON errors for unknown resources under /matrix/client. (#11930)
Re-applies the changes from 3e0cfd447e17658a937fe62555db9e968f00b15b (#11602), reverting d93ec0a0ba5f6d2fbf2bc321086d4ad4c03136e0 (#11764) now that the conflict with the webclient listener was fixed in 119edf51eb3e4f5ed5139dc370f5d7aed46edc1c (#11895).
Diffstat (limited to 'changelog.d/11930.bugfix')
-rw-r--r-- | changelog.d/11930.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11930.bugfix b/changelog.d/11930.bugfix new file mode 100644 index 0000000000..e0dfbf1a15 --- /dev/null +++ b/changelog.d/11930.bugfix @@ -0,0 +1 @@ +Fix a long-standing bug that some unknown endpoints would return HTML error pages instead of JSON `M_UNRECOGNIZED` errors. |