Skip to content

Commit 3b6345c

Browse files
VelikovPetarclaude
andauthored
Restrict StreamFileProvider paths to only used directories (#6183)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 982316b commit 3b6345c

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

stream-chat-android-ui-common/src/main/res/xml/stream_filepaths.xml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,16 @@
1515
limitations under the License.
1616
-->
1717
<paths>
18-
<files-path
19-
name="files"
20-
path="."
21-
/>
2218
<cache-path
2319
name="cache"
2420
path="."
2521
/>
26-
<external-path
27-
name="external"
28-
path="."
29-
/>
3022
<external-files-path
31-
name="external_files"
32-
path="."
23+
name="external_pictures"
24+
path="Pictures/"
3325
/>
34-
<external-cache-path
35-
name="external_cache"
36-
path="."
37-
/>
38-
<external-media-path
39-
name="external_media"
40-
path="."
26+
<external-files-path
27+
name="external_movies"
28+
path="Movies/"
4129
/>
4230
</paths>

0 commit comments

Comments
 (0)