• Mustafa Emre Acer's avatar
    Lookalike URLs: Allow safe redirects (aka defensive registrations) · 13a2718a
    Mustafa Emre Acer authored
    Some lookalike sites are configured to redirect to their canonical counterparts.
    The most common example is an IDN redirecting to the ASCII domain (e.g.
    elespañol[.]com to elespanol[.]com). Currently, such redirects are blocked with
    an interstitial, even though the navigation is harmless.
    
    This CL treats a subset of such redirects as safe and allows them to go proceed
    without an interstitial. In order to be deemed safe, the initial URL must
    redirect to the same eTLD+1 of the URL it's visually similar to. It should also
    redirect to the root of the domain without any path components. This should
    cut down the number of extraneous interstitials we currently show for defensive
    registrations.
    
    Bug: 986404
    Change-Id: Ie9f148d44407052c0b638fff9e9c514edf5cdef0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713596
    Commit-Queue: Mustafa Emre Acer <meacer@chromium.org>
    Reviewed-by: default avatarMustafa Emre Acer <meacer@chromium.org>
    Reviewed-by: default avatarJoe DeBlasio <jdeblasio@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#681940}
    13a2718a
lookalike_url_navigation_throttle.cc 19.8 KB