mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
3e0cfd447e
Instead of returning 404 errors with HTML bodies when an unknown prefix was requested (e.g. /matrix/client/v1 before Synapse v1.49.0).
1 line
123 B
Text
1 line
123 B
Text
Fix a long-standing bug that some unknown endpoints would return HTML error pages instead of JSON `M_UNRECOGNIZED` errors.
|