mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-07 21:10:55 +08:00
* fix(phishing): check alternate protocol when matching URLs against block list The phishing blocker's IndexedDB lookup only checked the exact URL href. When the block list contains http:// entries but the browser auto-redirects to https://, the lookup failed silently. This adds O(1) alternate-protocol lookups (swapping http:// ↔ https://) with the same trailing-slash normalization. [PM-32843] * test(phishing): add unit tests for alternate-protocol URL matching Covers HTTP→HTTPS and HTTPS→HTTP matching, trailing slash normalization with protocol swap, short-circuit when exact match is found, no false positives, and non-HTTP protocol handling. [PM-32843] |
||
|---|---|---|
| .. | ||
| _locales | ||
| admin-console/types | ||
| auth | ||
| autofill | ||
| background | ||
| billing | ||
| browser | ||
| dirt/phishing-detection | ||
| images | ||
| key-management | ||
| models | ||
| platform | ||
| popup | ||
| safari | ||
| tools/popup | ||
| types | ||
| vault | ||
| managed_schema.json | ||
| manifest.json | ||
| manifest.v3.json | ||