mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-25 22:55:01 +03:00
Warn on deprecated allowInsecure usage
https://github.com/2dust/v2rayN/issues/9435
This commit is contained in:
@@ -134,6 +134,12 @@ public class NodeValidator
|
||||
{
|
||||
v.Error(string.Format(ResUI.MsgInvalidProperty, "TLS Certificate"));
|
||||
}
|
||||
|
||||
// Check for deprecated allowInsecure property when TLS is enabled
|
||||
if (item.AllowInsecure == "true")
|
||||
{
|
||||
v.Warning(ResUI.MsgAllowInsecureDeprecated);
|
||||
}
|
||||
}
|
||||
|
||||
if (item.StreamSecurity == Global.StreamSecurityReality)
|
||||
|
||||
Reference in New Issue
Block a user