diff --git a/v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs b/v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs index f7febe88..9f629723 100644 --- a/v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs +++ b/v2rayN/v2rayN/Handler/CoreConfig/CoreConfigSingbox.cs @@ -847,7 +847,7 @@ namespace v2rayN.Handler.CoreConfig tag = tag, address = "223.5.5.5", detour = Global.DirectTag, - strategy = strategy + strategy = Utils.IsNullOrEmpty(strategy) ? null : strategy, }); var lstDomain = singboxConfig.outbounds diff --git a/v2rayN/v2rayN/Handler/Fmt/BaseFmt.cs b/v2rayN/v2rayN/Handler/Fmt/BaseFmt.cs index cc867c36..dcad9083 100644 --- a/v2rayN/v2rayN/Handler/Fmt/BaseFmt.cs +++ b/v2rayN/v2rayN/Handler/Fmt/BaseFmt.cs @@ -137,6 +137,7 @@ namespace v2rayN.Handler.Fmt item.publicKey = Utils.UrlDecode(query["pbk"] ?? ""); item.shortId = Utils.UrlDecode(query["sid"] ?? ""); item.spiderX = Utils.UrlDecode(query["spx"] ?? ""); + item.allowInsecure = (query["allowInsecure"] ?? "") == "1" ? "true" : ""; item.network = query["type"] ?? nameof(ETransport.tcp); switch (item.network)