commit | bfa44d228f4f4afc873ee796dbba2c72fc958582 | [log] [tgz] |
---|---|---|
author | Mustafa Emre Acer <meacer@chromium.org> | Tue Jan 08 21:13:52 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 08 21:13:52 2019 |
tree | c6d9494cdfb49ec9e3f3925c323c7fb867629348 | |
parent | 34d390f23f630f8c5187e096c44b47656bcafde2 [diff] |
Lookalike URLs: Exclude registry when doing edit distance comparison The edit distance heuristic in Lookalike URLs feature records a match if the navigated domain is one edit distance away from one of the top 500 domains. However, it takes the registry of the domains into account as well, causing bogus matches. As an example, it matches google.com.tw to google.com.tr (top domain), even though the former is unlikely to be a spoofing attempt. This CL correctly handles this case. Bug: 913647 Change-Id: Ifa04a3f6eeccd0b97dde364d3cd2ef3d415f6ef1 Reviewed-on: https://chromium-review.googlesource.com/c/1396304 Reviewed-by: Tommy Li <tommycli@chromium.org> Reviewed-by: Cait Phillips <caitkp@chromium.org> Commit-Queue: Mustafa Emre Acer <meacer@chromium.org> Cr-Commit-Position: refs/heads/master@{#620877}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .