diff options
author | Ashish Kumar <ashfame@users.noreply.github.com> | 2022-10-26 18:51:23 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 15:51:23 +0100 |
commit | 0cfbb3513152b8360155c2d75df50e06ea861fa4 (patch) | |
tree | 00d0e8310bd1fc096de98b022d8b8ee4d2ef9f87 /changelog.d | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-0cfbb3513152b8360155c2d75df50e06ea861fa4.tar.xz |
fix broken avatar checks when server_name contains a port (#13927)
Fixes check_avatar_size_and_mime_type() to successfully update avatars on homeservers running on non-default ports which it would mistakenly treat as remote homeserver while validating the avatar's size and mime type. Signed-off-by: Ashish Kumar ashfame@users.noreply.github.com
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/13927.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13927.bugfix b/changelog.d/13927.bugfix new file mode 100644 index 0000000000..119cd128e7 --- /dev/null +++ b/changelog.d/13927.bugfix @@ -0,0 +1 @@ +Fix a bug which prevented setting an avatar on homeservers which have an explicit port in their `server_name` and have `max_avatar_size` and/or `allowed_avatar_mimetypes` configuration. Contributed by @ashfame. |