Skip to content

Commit

Permalink
Do not compare webview URL for mainframe requests
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisBarreiro committed Dec 16, 2024
1 parent c24dff3 commit bba00aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class RealMaliciousSiteBlockerWebViewIntegration @Inject constructor(
return null
}

if (request.isForMainFrame && decodedUrl.toUri() == documentUri) {
if (request.isForMainFrame) {
if (maliciousSiteProtection.isMalicious(decodedUrl.toUri(), confirmationCallback) == MALICIOUS) {
return WebResourceResponse(null, null, null)
}
Expand Down

0 comments on commit bba00aa

Please sign in to comment.