From e2ef804f1805ebc1f986decb3cd416ea06052e97 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Sat, 16 Aug 2025 21:18:30 +0800 Subject: [PATCH] Add VLESS encryption support --- v2rayN/ServiceLib/Handler/ConfigHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 8450cba8..0b655427 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -963,7 +963,7 @@ public class ConfigHandler { return -1; } - if (profileItem.Security.IsNotEmpty() && profileItem.Security != Global.None) + if (profileItem.Security.IsNullOrEmpty()) { profileItem.Security = Global.None; }