1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-27 23:03:45 +00:00

Change hostname to href in hasUrl check

This commit is contained in:
Leslie Tilton
2026-01-23 12:06:53 -06:00
parent 4f569dfad9
commit db390aaa25

View File

@@ -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;
}