Show punycode if URL contains Latin small letter dotless i
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Dec 2018 16:20:03 +0000 (16:20 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Dec 2018 16:20:03 +0000 (16:20 +0000)
commit3b625cc0dbbd614ed54d6f0dd4ab1ec906360fb8
tree5ab5101d4288df74919803a21de9f4b57c7a1d46
parent70d73605ff0fe89d41d9cf698b9a41fd9d6c0912
Show punycode if URL contains Latin small letter dotless i
https://bugs.webkit.org/show_bug.cgi?id=192944
<rdar://problem/46103047>

Reviewed by Andy Estes.

Source/WTF:

Revise our "lookalike character" logic to include the small Latin
dotless i character.

Test: fast/url/host.html

* wtf/cocoa/NSURLExtras.mm:
(WTF::isLookalikeCharacter):

LayoutTests:

* fast/url/host-expected.txt:
* fast/url/host.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/url/host-expected.txt
LayoutTests/fast/url/host.html
Source/WTF/ChangeLog
Source/WTF/wtf/cocoa/NSURLExtras.mm