• meacer's avatar
    Restrict Latin Small Letter Thorn (U+00FE) to Icelandic domains · cc0bbcbe
    meacer authored
    This character (þ) can be confused with both b and p when used in a domain
    name. IDN spoof checker doesn't have a good way of flagging a character as
    confusable with multiple characters, so it can't catch spoofs containing
    this character. As a practical fix, this CL restricts this character to
    domains under Iceland's ccTLD (.is). With this change, a domain name containing
    "þ" with a non-.is TLD will be displayed in punycode in the UI.
    
    This change affects less than 10 real world domains with limited popularity.
    
    Bug: 798892, 843352, 904327, 1017707
    Change-Id: Ib07190dcde406bf62ce4413688a4fb4859a51030
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879992
    Commit-Queue: Mustafa Emre Acer <meacer@chromium.org>
    Reviewed-by: default avatarChristopher Thompson <cthomp@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#709309}
    cc0bbcbe
url_formatter.cc 28.4 KB