Skip to content
Snippets Groups Projects
Unverified Commit d9391204 authored by Josh Qou's avatar Josh Qou Committed by GitHub
Browse files

Fix unsafe hotserving behaviour for non-multimedia uploads. (#15680)


* Fix unsafe hotserving behaviour for non-multimedia uploads.

* invert disposition assert

* test_media_storage.py: run lint

* test_base.py: /inline/attachment/s

* Only return attachment for disposition type, update tests

* Update synapse/media/_base.py

Co-authored-by: default avatarPatrick Cloke <clokep@users.noreply.github.com>

* Update changelog.d/15680.bugfix

Co-authored-by: default avatarPatrick Cloke <clokep@users.noreply.github.com>

* add attribution

* Update changelog.

---------

Co-authored-by: default avatarPatrick Cloke <clokep@users.noreply.github.com>
parent 1404f68a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment