Temporarily add option to allow insecure HTTP subscription address
https://github.com/2dust/v2rayNG/issues/4526
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user