8294378: URLPermission constructor exception when using tr locale

Reviewed-by: dfuchs, jpai, aefimov
This commit is contained in:
Ryan Wallace 2022-11-12 01:37:46 +00:00 committed by Jaikiran Pai
parent 34a499de8e
commit ff2c987669
3 changed files with 13 additions and 5 deletions

View file

@ -149,6 +149,9 @@ class HostPortrange {
// regular domain name
hoststr = toLowerCase(hoststr);
}
} else {
// regular domain name
hoststr = toLowerCase(hoststr);
}
}
hostname = hoststr;