diff options
author | krombel <krombel@krombel.de> | 2019-10-10 13:59:55 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-10-10 12:59:55 +0100 |
commit | 2efd050c9db2e96fd96535dc9b1c6f54acbd163d (patch) | |
tree | a51eb9731bebcfb7c786a90afaf23ee3e91432ad /changelog.d/2380.bugfix | |
parent | Add snapcraft packaging information (#6084) (diff) | |
download | synapse-2efd050c9db2e96fd96535dc9b1c6f54acbd163d.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | changelog.d/2380.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/2380.bugfix b/changelog.d/2380.bugfix new file mode 100644 index 0000000000..eae3206031 --- /dev/null +++ b/changelog.d/2380.bugfix @@ -0,0 +1 @@ +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! |