Changeset 239967 in webkit
- Timestamp:
- Jan 14, 2019 6:14:16 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r239966 r239967 1 2019-01-14 Alex Christensen <achristensen@webkit.org> 2 3 Bulgarian TLD should not punycode-encode URLs with Bulgarian Cyrillic characters 4 https://bugs.webkit.org/show_bug.cgi?id=193411 5 <rdar://problem/47215929> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * fast/url/user-visible/cyrillic-NFD-expected.txt: 10 * fast/url/user-visible/cyrillic-NFD.html: 11 1 12 2019-01-14 John Wilander <wilander@apple.com> 2 13 -
trunk/LayoutTests/fast/url/user-visible/cyrillic-NFD-expected.txt
r189356 r239967 6 6 PASS test('http://спецодежда.онлайн/') is 'http://спецодежда.онлайн/' 7 7 PASS test('http://спецодежда.онлайн/') is 'http://спецодежда.онлайн/' 8 PASS test('http://ж1-2.бг/') is 'http://ж1-2.бг/' 9 PASS test('http://жabc.бг/') is 'http://xn--abc-udd.xn--90ae/' 10 PASS test('http://abc.бг/') is 'http://abc.xn--90ae/' 11 PASS test('http://ы.бг/') is 'http://xn--01a.xn--90ae/' 12 PASS test('http://э.бг/') is 'http://xn--21a.xn--90ae/' 8 13 PASS successfullyParsed is true 9 14 -
trunk/LayoutTests/fast/url/user-visible/cyrillic-NFD.html
r189356 r239967 18 18 shouldBe("test('http://спецодежда.онла\u0439н/')", "'http://спецодежда.онлайн/'"); 19 19 shouldBe("test('http://спецодежда.онла\u0438\u0306н/')", "'http://спецодежда.онлайн/'"); 20 shouldBe("test('http://ж1-2.бг/')", "'http://ж1-2.бг/'"); 21 shouldBe("test('http://жabc.бг/')", "'http://xn--abc-udd.xn--90ae/'"); 22 shouldBe("test('http://abc.бг/')", "'http://abc.xn--90ae/'"); 23 shouldBe("test('http://ы.бг/')", "'http://xn--01a.xn--90ae/'"); 24 shouldBe("test('http://э.бг/')", "'http://xn--21a.xn--90ae/'"); 20 25 21 26 </script> -
trunk/Source/WTF/ChangeLog
r239904 r239967 1 2019-01-14 Alex Christensen <achristensen@webkit.org> 2 3 Bulgarian TLD should not punycode-encode URLs with Bulgarian Cyrillic characters 4 https://bugs.webkit.org/show_bug.cgi?id=193411 5 <rdar://problem/47215929> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * wtf/cocoa/NSURLExtras.mm: 10 (WTF::allCharactersAllowedByTLDRules): 11 1 12 2019-01-12 Timothy Hatcher <timothy@apple.com> 2 13 -
trunk/Source/WTF/wtf/cocoa/NSURLExtras.mm
r239586 r239967 541 541 }); 542 542 543 // https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-bulgarian-30aug16-en.html 544 static const UChar cyrillicBG[] = { 545 '.', 546 0x0431, // CYRILLIC SMALL LETTER BE 547 0x0433 // CYRILLIC SMALL LETTER GHE 548 }; 549 CHECK_RULES_IF_SUFFIX_MATCHES(cyrillicBG, [](UChar ch) { 550 return (ch >= 0x0430 && ch <= 0x044A) || ch == 0x044C || (ch >= 0x044E && ch <= 0x0450) || ch == 0x045D || isASCIIDigit(ch) || ch == '-'; 551 }); 552 543 553 // Not a known top level domain with special rules. 544 554 return NO;
Note: See TracChangeset
for help on using the changeset viewer.