From db390aaa256f8f9db0a989dc838ad48ec6675f19 Mon Sep 17 00:00:00 2001 From: Leslie Tilton <23057410+Banrion@users.noreply.github.com> Date: Fri, 23 Jan 2026 12:06:53 -0600 Subject: [PATCH] Change hostname to href in hasUrl check --- .../dirt/phishing-detection/services/phishing-data.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }