diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-12-20 11:00:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 16:00:13 +0000 |
commit | 3e0cfd447e17658a937fe62555db9e968f00b15b (patch) | |
tree | 130630430c28cddc5a41fb8ec4c1a0ddd4cdf496 /changelog.d | |
parent | Use mock from standard library (#11588) (diff) | |
download | synapse-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')
-rw-r--r-- | changelog.d/11602.bugfix | 1 |
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. |