diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-01-21 14:53:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 14:53:58 -0500 |
commit | a7882f98874684969910d3a6ed7d85f99114cc45 (patch) | |
tree | 212c188027151c242a29171550428d5158fa898b /changelog.d/9163.bugfix | |
parent | Align the directories linted in CI with the defaults in scripts-dev/lint.sh (... (diff) | |
download | synapse-a7882f98874684969910d3a6ed7d85f99114cc45.tar.xz |
Return a 404 if no valid thumbnail is found. (#9163)
If no thumbnail of the requested type exists, return a 404 instead of erroring. This doesn't quite match the spec (which does not define what happens if no thumbnail can be found), but is consistent with what Synapse already does.
Diffstat (limited to 'changelog.d/9163.bugfix')
-rw-r--r-- | changelog.d/9163.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9163.bugfix b/changelog.d/9163.bugfix new file mode 100644 index 0000000000..c51cf6ca80 --- /dev/null +++ b/changelog.d/9163.bugfix @@ -0,0 +1 @@ +Fix a long-standing bug where Synapse would return a 500 error when a thumbnail did not exist (and auto-generation of thumbnails was not enabled). |