Warn on deprecated allowInsecure usage

https://github.com/2dust/v2rayN/issues/9435
This commit is contained in:
2dust
2026-06-02 16:42:04 +08:00
parent f2e0bd4eba
commit ef4dda0996
6 changed files with 25 additions and 1 deletions
@@ -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)