Skip to content

Commit 8ee721c

Browse files
PM-31927: Pre-emptively patch Brave browser Autofill bug (#6497)
1 parent c0907b8 commit 8ee721c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/src/main/kotlin/com/x8bit/bitwarden/data/autofill/parser/AutofillParserImpl.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,21 @@ private val BLOCK_LISTED_URIS: List<String> = listOf(
3333
* A map of package ids and the known associated id entry for their url bar.
3434
*/
3535
private val URL_BARS: Map<String, String> = mapOf(
36+
// Edge Browser Variants
3637
"com.microsoft.emmx" to "url_bar",
3738
"com.microsoft.emmx.beta" to "url_bar",
3839
"com.microsoft.emmx.canary" to "url_bar",
3940
"com.microsoft.emmx.dev" to "url_bar",
41+
// Samsung Internet Browser Variants
4042
"com.sec.android.app.sbrowser" to "location_bar_edit_text",
4143
"com.sec.android.app.sbrowser.beta" to "location_bar_edit_text",
44+
// Opera Browser Variants
4245
"com.opera.browser" to "url_bar",
4346
"com.opera.browser.beta" to "url_bar",
47+
// Brave Browser Variants
48+
"com.brave.browser" to "url_bar",
49+
"com.brave.browser_beta" to "url_bar",
50+
"com.brave.browser_nightly" to "url_bar",
4451
)
4552

4653
/**

0 commit comments

Comments
 (0)