From 57c96c768e7800b2d638749d52131e27868bc1e9 Mon Sep 17 00:00:00 2001 From: DHR60 Date: Fri, 2 Jan 2026 23:09:05 +0800 Subject: [PATCH] Fix edge cases --- .../ServiceLib/Services/CoreConfig/V2ray/V2rayDnsService.cs | 4 ++-- .../Services/CoreConfig/V2ray/V2rayOutboundService.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayDnsService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayDnsService.cs index c24b1eb2..6ba45895 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayDnsService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayDnsService.cs @@ -197,7 +197,7 @@ public partial class CoreConfigV2rayService if (item.OutboundTag == Global.DirectTag) { - if (normalizedDomain.StartsWith("geosite:")) + if (normalizedDomain.StartsWith("geosite:") || normalizedDomain.StartsWith("ext:")) { (regionNames.Contains(normalizedDomain) ? expectedDomainList : directGeositeList).Add(normalizedDomain); } @@ -208,7 +208,7 @@ public partial class CoreConfigV2rayService } else if (item.OutboundTag != Global.BlockTag) { - if (normalizedDomain.StartsWith("geosite:")) + if (normalizedDomain.StartsWith("geosite:") || normalizedDomain.StartsWith("ext:")) { proxyGeositeList.Add(normalizedDomain); } diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs index d6c4a579..6389f86a 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs @@ -564,7 +564,7 @@ public partial class CoreConfigV2rayService var fragmentOutbound = new Outbounds4Ray { protocol = "freedom", - tag = $"{Global.ProxyTag}3", + tag = $"frag-{Global.ProxyTag}", settings = new() { fragment = new()