diff options
Diffstat (limited to 'netwerk/dns/nsIDNService.cpp')
-rw-r--r-- | netwerk/dns/nsIDNService.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/netwerk/dns/nsIDNService.cpp b/netwerk/dns/nsIDNService.cpp index 70e255ed15..1f35fe1dab 100644 --- a/netwerk/dns/nsIDNService.cpp +++ b/netwerk/dns/nsIDNService.cpp @@ -727,14 +727,11 @@ bool nsIDNService::isLabelSafe(const nsAString &label) ch = SURROGATE_TO_UCS4(ch, *current++); } - // Check for restricted characters; aspirational scripts are NOT permitted, - // in anticipation of the category being merged into Limited-Use scripts - // in the upcoming (Unicode 10.0-based) revision of UAX #31. IdentifierType idType = GetIdentifierType(ch); if (idType == IDTYPE_RESTRICTED) { return false; } - MOZ_ASSERT(idType == IDTYPE_ALLOWED || idType == IDTYPE_ASPIRATIONAL); + MOZ_ASSERT(idType == IDTYPE_ALLOWED); // Check for mixed script Script script = GetScriptCode(ch); |