0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-02 04:39:20 +01:00
synapse/changelog.d/2380.bugfix
krombel 2efd050c9d send 404 as http-status when filter-id is unknown to the server (#2380)
This fixed the weirdness of 400 vs 404 as http status code in the case
the filter id is not known by the server.
As e.g. matrix-js-sdk expects 404 to catch this situation this leads
to unwanted behaviour.
2019-10-10 12:59:55 +01:00

1 line
138 B
Text

Return an HTTP 404 instead of 400 when requesting a filter by ID that is unknown to the server. Thanks to @krombel for contributing this!