mattermost-mobile/patches/react-native-share+10.2.1.patch
Mattermost Build 08fbcc6a81
fix(MM-60638): Insecure File Provider Paths (#8294) (#8324)
(cherry picked from commit 83189afa88)

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2024-11-08 10:47:07 -05:00

12 lines
715 B
Diff

diff --git a/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml b/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml
index 47bce31..1bf6972 100644
--- a/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml
+++ b/node_modules/react-native-share/android/src/main/res/xml/share_download_paths.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="rnshare1" path="Download/" />
- <cache-path name="rnshare2" path="/" />
- <root-path name="rnshare_sdcard" path="." />
+ <cache-path name="rnshare2" path="." />
</paths>