diff --git a/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts b/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts index 02b153006da..460fe00ffe9 100644 --- a/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts +++ b/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts @@ -161,8 +161,8 @@ export class PhishingDataService { const resource = getPhishingResources(this.resourceType); try { - // Quick lookup: check direct presence of hostname in IndexedDB - const hasUrl = await this.indexedDbService.hasUrl(url.hostname); + // Quick lookup: check direct presence of href in IndexedDB + const hasUrl = await this.indexedDbService.hasUrl(url.href); if (hasUrl) { return true; }