Bug 145024 - Cyrillic top-level domains are displayed as punycode
Summary: Cyrillic top-level domains are displayed as punycode
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-05-14 15:35 PDT by Alexey Proskuryakov
Modified: 2019-05-02 16:18 PDT (History)
3 users (show)

See Also:


Attachments
proposed fix (10.21 KB, patch)
2015-05-14 16:13 PDT, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2015-05-14 15:35:22 PDT
There is a number of Cyrillic top level domains delegated and active now, and we only support .рф.

rdar://problem/14116594
rdar://problem/17747133
Comment 1 Alexey Proskuryakov 2015-05-14 16:13:31 PDT
Created attachment 253152 [details]
proposed fix
Comment 2 WebKit Commit Bot 2015-05-14 16:16:30 PDT
Attachment 253152 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:288:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:308:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:317:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:329:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:339:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:352:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:362:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:373:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:382:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:394:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:406:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:418:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:430:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:442:  One space before end of line comments  [whitespace/comments] [5]
Total errors found: 14 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2015-05-15 10:43:23 PDT
Comment on attachment 253152 [details]
proposed fix

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

> Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:409
> +        // Russian and Ukrainian letters, digits and dashes are allowed.

You could use isRussianDomainNameCharacter here and just add in the few additional ones.
Comment 4 WebKit Commit Bot 2015-05-15 11:43:23 PDT
Comment on attachment 253152 [details]
proposed fix

Clearing flags on attachment: 253152

Committed r184401: <http://trac.webkit.org/changeset/184401>
Comment 5 WebKit Commit Bot 2015-05-15 11:43:27 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 rottese 2019-03-09 20:56:51 PST
http://www.google.com