Commit 7f971e5
fix(android): Drop SAF document authorities from getDataFromUri allowlist
Authority-only matching cannot verify that a SAF URI was granted in the
current attach flow versus a previously persisted grant. The in-SDK
image picker returns content://media/... on modern Android, so dropping
SAF support has no impact on the FeedbackForm flow. Test inverted from
allowsSafDocumentsAuthorities to rejectsSafDocumentsAuthorities.
Addresses Warden review feedback on #6045.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ca3fd19 commit 7f971e5
2 files changed
Lines changed: 14 additions & 9 deletions
File tree
- packages/core/android/src
- main/java/io/sentry/react
- test/java/io/sentry/react
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1148 | 1156 | | |
1149 | 1157 | | |
1150 | 1158 | | |
| |||
1154 | 1162 | | |
1155 | 1163 | | |
1156 | 1164 | | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | 1165 | | |
1163 | 1166 | | |
1164 | 1167 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | | - | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
0 commit comments