Fix the parsing problem of non-English domain

https://github.com/2dust/v2rayNG/issues/4626
This commit is contained in:
2dust
2025-05-31 11:12:57 +08:00
parent aa47fba20d
commit f305e26a39
10 changed files with 45 additions and 18 deletions
@@ -415,7 +415,7 @@ object AngConfigManager {
if (!it.second.enabled) {
return 0
}
val url = HttpUtil.idnToASCII(it.second.url)
val url = HttpUtil.toIdnUrl(it.second.url)
if (!Utils.isValidUrl(url)) {
return 0
}