Skip to content

Commit

Permalink
Update packages/phishing-controller/CHANGELOG.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>
  • Loading branch information
AugmentedMode and MajorLift authored Aug 29, 2024
1 parent f6acf55 commit ea4443c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/phishing-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Add use hostname to check against allowlist ([#4645](https://github.com/MetaMask/core/pull/4645))
- Add `getHostnameFromUrl` utility function to standardize hostname extraction from URLs ([#4645](https://github.com/MetaMask/core/pull/4645))

### Fixed

- Update `test`, `isBlockedRequest`, and `bypass` methods to use the hostname for allowlist checks instead of the full origin ([#4645](https://github.com/MetaMask/core/pull/4645))
- The previous approach of using the full origin had limitations in dealing with subdomains or variations in the URL structure, which could lead to inconsistent results or false negatives.

## [12.0.0]

Expand Down

0 comments on commit ea4443c

Please sign in to comment.