synapse/changelog.d/4763.bugfix
Richard van der Hoff 68f47d6744 Fix parsing of Content-Disposition headers (#4763)
* Fix parsing of Content-Disposition headers

TIL: filenames in content-dispostion headers can contain semicolons, and aren't
%-encoded.

* fix python2 incompatibility

* Fix docstrings
2019-02-27 14:29:10 -08:00

1 line
86 B
Text

Fix parsing of Content-Disposition headers on remote media requests and URL previews.