Skip to content

Commit

Permalink
Fix wrong icon for malicious http pages
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisBarreiro committed Feb 27, 2025
1 parent ccb4ee4 commit f7159c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ class SiteMonitor(

override fun privacyProtection(): PrivacyShield {
userAllowList = domain?.let { isAllowListed(it) } ?: false
if (maliciousSiteStatus != null) return MALICIOUS
if (duckPlayer.isDuckPlayerUri(url)) return UNKNOWN
if (userAllowList || !isHttps) return UNPROTECTED
if (maliciousSiteStatus != null) return MALICIOUS

if (!fullSiteDetailsAvailable) {
Timber.i("Shield: not fullSiteDetailsAvailable for $domain")
Expand Down

0 comments on commit f7159c3

Please sign in to comment.