diff --git a/jslib b/jslib index 0a20face13..3bf322a904 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 0a20face13a0cf57c25fbd44840378cc0d0afc02 +Subproject commit 3bf322a904cd7ccb8c7e77edbecf8e152feb7364 diff --git a/src/background/webRequest.background.ts b/src/background/webRequest.background.ts index e0d8913713..403fec9236 100644 --- a/src/background/webRequest.background.ts +++ b/src/background/webRequest.background.ts @@ -2,6 +2,8 @@ import { CipherService } from 'jslib/abstractions/cipher.service'; import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; import { VaultTimeoutService } from 'jslib/abstractions/vaultTimeout.service'; +import { UriMatchType } from 'jslib/enums'; + export default class WebRequestBackground { private pendingAuthRequests: any[] = []; private webRequest: any; @@ -50,7 +52,7 @@ export default class WebRequestBackground { } try { - const ciphers = await this.cipherService.getAllDecryptedForUrl(domain); + const ciphers = await this.cipherService.getAllDecryptedForUrl(domain, null, UriMatchType.Host); if (ciphers == null || ciphers.length !== 1) { error(); return;