diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-04 10:26:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 10:26:09 -0500 |
commit | df3e6a23a74e85005881bd5bead3443f4f758095 (patch) | |
tree | 3fde5063616152cc626e81a1f5bd9ed85aa34099 /changelog.d | |
parent | Merge tag 'v1.24.0rc2' into develop (diff) | |
download | synapse-df3e6a23a74e85005881bd5bead3443f4f758095.tar.xz |
Do not 500 if the content-length is not provided when uploading media. (#8862)
Instead return the proper 400 error.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/8862.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8862.bugfix b/changelog.d/8862.bugfix new file mode 100644 index 0000000000..bdbd633f72 --- /dev/null +++ b/changelog.d/8862.bugfix @@ -0,0 +1 @@ +Fix a longstanding bug where a 500 error would be returned if the `Content-Length` header was not provided to the upload media resource. |