Commit graph

3 commits

Author SHA1 Message Date
Mattermost Build
4ded73b927
[MM-26489] No need to decode file URI on Android (#4610) (#4673)
* Encode lone % chars

* No need to decode on Android

(cherry picked from commit 7c827fe319)

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-08-14 11:02:12 -07:00
Elias Nahum
9096818003 MM-20778 Remove caption as part of the file path (#3646) 2019-12-03 08:12:53 +08:00
Miguel Alatzar
19c493ff6e
[MM-15401] Fix setting of extension when caching files (#2762)
* Get extension from Content-Disposition first

* User ImageCacheManager.cache over getCacheFile

* Add unit tests for ImageCacheManager.getCacheFile

* Add unit tests for ImageCacheManager.cache

* Use exports and require to be able to mock isDownloading

* Chain mockReturnValueOnce calls

* Fix getExtensionFromContentDisposition and its unit tests
2019-05-03 09:24:40 -07:00