summary refs log tree commit diff
path: root/changelog.d/11602.bugfix
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-12-20 11:00:13 -0500
committerGitHub <noreply@github.com>2021-12-20 16:00:13 +0000
commit3e0cfd447e17658a937fe62555db9e968f00b15b (patch)
tree130630430c28cddc5a41fb8ec4c1a0ddd4cdf496 /changelog.d/11602.bugfix
parentUse mock from standard library (#11588) (diff)
downloadsynapse-3e0cfd447e17658a937fe62555db9e968f00b15b.tar.xz
Return JSON errors for unknown resources under /matrix/client. (#11602)
Instead of returning 404 errors with HTML bodies when an unknown
prefix was requested (e.g. /matrix/client/v1 before Synapse v1.49.0).
Diffstat (limited to 'changelog.d/11602.bugfix')
-rw-r--r--changelog.d/11602.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11602.bugfix b/changelog.d/11602.bugfix
new file mode 100644
index 0000000000..e0dfbf1a15
--- /dev/null
+++ b/changelog.d/11602.bugfix
@@ -0,0 +1 @@
+Fix a long-standing bug that some unknown endpoints would return HTML error pages instead of JSON `M_UNRECOGNIZED` errors.