Temporarily add option to allow insecure HTTP subscription address

https://github.com/2dust/v2rayNG/issues/4526
This commit is contained in:
2dust
2025-04-23 10:05:49 +08:00
parent 247e2b3ba3
commit 1bca321d3f
13 changed files with 41 additions and 3 deletions
@@ -419,8 +419,10 @@ object AngConfigManager {
if (!Utils.isValidUrl(url)) {
return 0
}
if (!Utils.isValidSubUrl(url)) {
return 0
if (!it.second.allowInsecureUrl) {
if (!Utils.isValidSubUrl(url)) {
return 0
}
}
Log.i(AppConfig.TAG, url)