Mattermost Build
840fda2051
MM-36256 avoid path traversal for Android image picker ( #5432 ) ( #5437 )
...
(cherry picked from commit 0a4dafa127 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-06-08 09:24:33 -04:00
Elias Nahum
9e30de1ba7
Copy temp file if isMediaDocument contentUri is null ( #5269 )
2021-04-03 14:53:54 -03:00
Elias Nahum
86a096d1ce
MM-33495 Sanitize filename in Android ShareExtension ( #5210 )
...
* MM-33495 Sanitize filename in Android ShareExtension
* Apply sanitization after getting uri last path segment
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-03-08 14:38:06 -03:00
Miguel Alatzar
d25561bb83
[MM-21888] Don't use localPath when it's the share extension cache dir ( #3845 )
...
* Don't use localPath when it's the share extension cache dir
* Move android pasted images to cache image folder
* Use Files.move instead of FileInput / FileOutput stream
* Remove commented code and not needed imports
2020-01-27 13:58:30 -03:00
Elias Nahum
7df9711afa
Prevent the app from crashing when file mime type is null ( #2582 )
2019-02-20 16:47:55 -03:00
Elias Nahum
c54738481f
Android: Fix crash when attaching files from the downloads folder ( #2390 )
2018-11-28 15:06:23 -03:00
Elias Nahum
cf85c3c1e8
Fix Android share extension and better handle errors ( #1965 )
2018-08-03 13:18:21 -04:00
Elias Nahum
a208df9417
Fix uploading files from androids download provider ( #1837 )
2018-06-27 08:35:22 -04:00
Elias Nahum
abd67c1bec
Always create a temp file for Android share ( #1824 )
2018-06-25 13:11:50 -04:00
Elias Nahum
23ca490525
Ability to upload other file types ( #1662 )
2018-05-11 18:05:49 -03:00
Elias Nahum
aebe22f58d
Fix Android sharing files without extension ( #1646 )
2018-04-30 11:57:24 -03:00
Elias Nahum
e31fc00377
Fix share from SwiftKey Keyboard and clear temp files ( #1585 )
...
* Fix share from SwiftKey Keyboard and clear temp files
* feedback review
2018-04-13 12:26:29 -03:00
enahum
926ffe96c5
Android share extension ( #1352 )
...
* Android share extension
* Feedback review
* Feedback review
2018-01-17 18:17:02 -03:00