Bug 193411 - Bulgarian TLD should not punycode-encode URLs with Bulgarian Cyrillic characters
Summary: Bulgarian TLD should not punycode-encode URLs with Bulgarian Cyrillic characters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-01-14 15:05 PST by Alex Christensen
Modified: 2019-01-14 18:15 PST (History)
8 users (show)

See Also:


Attachments
Patch (4.15 KB, patch)
2019-01-14 15:10 PST, Alex Christensen
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2019-01-14 15:05:34 PST
Bulgarian TLD should not punycode-encode URLs with Bulgarian Cyrillic characters
Comment 1 Alex Christensen 2019-01-14 15:10:53 PST
Created attachment 359083 [details]
Patch
Comment 2 Alexey Proskuryakov 2019-01-14 16:50:43 PST
Comment on attachment 359083 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=359083&action=review

> Source/WTF/wtf/cocoa/NSURLExtras.mm:550
> +        return (ch >= 0x0430 && ch <= 0x044A) || ch == 0x044C || (ch >= 0x044E && ch <= 0x0450) || ch == 0x045D || isASCIIDigit(ch) || ch == '-';

Surprised by U+0450 and 0x045D, but if ICANN says so...
Comment 3 Alex Christensen 2019-01-14 18:14:31 PST
http://trac.webkit.org/r239967
Comment 4 Radar WebKit Bug Importer 2019-01-14 18:15:28 PST
<rdar://problem/47273102>