commit | f9b56bc54fdff5981dba39a707489c3ca9980fac | [log] [tgz] |
---|---|---|
author | Jungshik Shin <jshin@chromium.org> | Tue Apr 17 06:15:05 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 17 06:15:05 2018 |
tree | ebf90d3096423e07a03f6415e175005df0023c0f | |
parent | 5a45635a2827710b23f7637f7b300cb966261197 [diff] |
Map U+04CF to lowercase L as well. U+04CF (ÓŹ) has the confusability skeleton of 'i' (lowercase I), but it can be confused for 'l' (lowercase L) or '1' (digit) if rendered in some fonts. If a host name contains it, calculate the confusability skeleton twice, once with the default mapping to 'i' (lowercase I) and the 2nd time with an alternative mapping to 'l'. Mapping them to 'l' (lowercase L) also gets it treated as similar to digit 1 because the confusability skeleton of digit 1 is 'l'. Bug: 817247 Test: components_unittests --gtest_filter=*IDN* Change-Id: I7442b950c9457eea285e17f01d1f43c9acc5d79c Reviewed-on: https://chromium-review.googlesource.com/974165 Commit-Queue: Jungshik Shin <jshin@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Reviewed-by: Eric Lawrence <elawrence@chromium.org> Cr-Commit-Position: refs/heads/master@{#551263}
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 .