Title: [231078] trunk
- Revision
- 231078
- Author
- [email protected]
- Date
- 2018-04-26 15:50:55 -0700 (Thu, 26 Apr 2018)
Log Message
Show punycode if URL contains Latin small letter o with dot below character
https://bugs.webkit.org/show_bug.cgi?id=185051
<rdar://problem/39459297>
Reviewed by David Kilzer.
Source/WebCore:
Revise our "lookalike character" logic to include the small Latin o
with dot below character.
Test: fast/url/host.html
* platform/mac/WebCoreNSURLExtras.mm:
(WebCore::isLookalikeCharacter):
LayoutTests:
* fast/url/host-expected.txt:
* fast/url/host.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (231077 => 231078)
--- trunk/LayoutTests/ChangeLog 2018-04-26 21:53:28 UTC (rev 231077)
+++ trunk/LayoutTests/ChangeLog 2018-04-26 22:50:55 UTC (rev 231078)
@@ -1,3 +1,14 @@
+2018-04-26 Brent Fulgham <[email protected]>
+
+ Show punycode if URL contains Latin small letter o with dot below character
+ https://bugs.webkit.org/show_bug.cgi?id=185051
+ <rdar://problem/39459297>
+
+ Reviewed by David Kilzer.
+
+ * fast/url/host-expected.txt:
+ * fast/url/host.html:
+
2018-04-26 Sihui Liu <[email protected]>
[iOS] LayoutTest http/tests/quicklook/hide-referer-on-navigation.html is failing
Modified: trunk/LayoutTests/fast/url/host-expected.txt (231077 => 231078)
--- trunk/LayoutTests/fast/url/host-expected.txt 2018-04-26 21:53:28 UTC (rev 231077)
+++ trunk/LayoutTests/fast/url/host-expected.txt 2018-04-26 22:50:55 UTC (rev 231078)
@@ -48,6 +48,7 @@
PASS canonicalize('http://quip‑apple.com/') is 'http://xn--quipapple-y79d.com/'
PASS canonicalize('http://quip−apple.com/') is 'http://xn--quipapple-tf4e.com/'
PASS canonicalize('http://iclouꝱ.com/') is 'http://xn--iclou-rl3s.com/'
+PASS canonicalize('http://gọọgle.com/') is 'http://xn--ggle-gx5aa.com/'
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/fast/url/host.html (231077 => 231078)
--- trunk/LayoutTests/fast/url/host.html 2018-04-26 21:53:28 UTC (rev 231077)
+++ trunk/LayoutTests/fast/url/host.html 2018-04-26 22:50:55 UTC (rev 231078)
@@ -88,7 +88,8 @@
["quip\u2010apple.com", "xn--quipapple-y79d.com"],
["quip\u2011apple.com", "xn--quipapple-y79d.com"],
["quip\u2212apple.com", "xn--quipapple-tf4e.com"],
- ["iclou\uA771.com", "xn--iclou-rl3s.com"]
+ ["iclou\uA771.com", "xn--iclou-rl3s.com"],
+ ["g\u1ECD\u1ECDgle.com", "xn--ggle-gx5aa.com"]
];
for (var i = 0; i < cases.length; ++i) {
Modified: trunk/Source/WebCore/ChangeLog (231077 => 231078)
--- trunk/Source/WebCore/ChangeLog 2018-04-26 21:53:28 UTC (rev 231077)
+++ trunk/Source/WebCore/ChangeLog 2018-04-26 22:50:55 UTC (rev 231078)
@@ -1,3 +1,19 @@
+2018-04-26 Brent Fulgham <[email protected]>
+
+ Show punycode if URL contains Latin small letter o with dot below character
+ https://bugs.webkit.org/show_bug.cgi?id=185051
+ <rdar://problem/39459297>
+
+ Reviewed by David Kilzer.
+
+ Revise our "lookalike character" logic to include the small Latin o
+ with dot below character.
+
+ Test: fast/url/host.html
+
+ * platform/mac/WebCoreNSURLExtras.mm:
+ (WebCore::isLookalikeCharacter):
+
2018-04-26 Daniel Bates <[email protected]>
Fix the build following r231068
Modified: trunk/Source/WebCore/platform/mac/WebCoreNSURLExtras.mm (231077 => 231078)
--- trunk/Source/WebCore/platform/mac/WebCoreNSURLExtras.mm 2018-04-26 21:53:28 UTC (rev 231077)
+++ trunk/Source/WebCore/platform/mac/WebCoreNSURLExtras.mm 2018-04-26 22:50:55 UTC (rev 231078)
@@ -147,6 +147,7 @@
case 0x1D20: /* LATIN LETTER SMALL CAPITAL V */
case 0x1D21: /* LATIN LETTER SMALL CAPITAL W */
case 0x1D22: /* LATIN LETTER SMALL CAPITAL Z */
+ case 0x1ECD: /* LATIN SMALL LETTER O WITH DOT BELOW */
case 0x2010: /* HYPHEN */
case 0x2011: /* NON-BREAKING HYPHEN */
case 0x2024: /* ONE DOT LEADER */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes