View | Details | Raw Unified | Return to bug 214536 | Differences between
and this patch

Collapse All | Expand All

(-)www/chromium/files/patch-components_url__formatter_url__formatter.cc (+31 lines)
Line 0 Link Here
1
--- components/url_formatter/url_formatter.cc.orig	2016-11-15 16:30:59 UTC
2
+++ components/url_formatter/url_formatter.cc
3
@@ -429,9 +429,9 @@ void IDNSpoofChecker::SetAllowedUnicodeS
4
   // section at
5
   // http://www.unicode.org/Public/security/latest/xidmodifications.txt) are
6
   // are added to the allowed set. The list has to be updated when a new
7
-  // version of Unicode is released. The current version is 8.0.0 and ICU 58
8
-  // will have Unicode 9.0 data.
9
-#if U_ICU_VERSION_MAJOR_NUM < 58
10
+  // version of Unicode is released. The current version is 9.0.0 and ICU 60
11
+  // will have Unicode 10.0 data.
12
+#if U_ICU_VERSION_MAJOR_NUM < 60
13
   const icu::UnicodeSet aspirational_scripts(
14
       icu::UnicodeString(
15
           // Unified Canadian Syllabics
16
@@ -445,13 +445,13 @@ void IDNSpoofChecker::SetAllowedUnicodeS
17
           // Yi
18
           "\\uA000-\\uA48C"
19
           // Miao
20
-          "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7F"
21
+          "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7E"
22
           "\\U00016F8F-\\U00016F9F]",
23
           -1, US_INV),
24
       *status);
25
   allowed_set.addAll(aspirational_scripts);
26
 #else
27
-#error "Update aspirational_scripts per Unicode 9.0"
28
+#error "Update aspirational_scripts per Unicode 10.0"
29
 #endif
30
 
31
   // U+0338 is included in the recommended set, while U+05F4 and U+2027 are in

Return to bug 214536