3x-ui/internal/util/link
Jay Hemnani 129e4f5292
fix(link): keep IPv6 brackets in imported wireguard endpoints (#6976)
parseWireguard joined u.Hostname(), which strips IPv6 brackets, with the port, so wireguard://key@[2001:db8::1]:51820 became 2001:db8::1:51820 and Xray's ParseDestination rejected it. The endpoint is now built with net.JoinHostPort, matching the frontend parser; IPv4 and hostname endpoints are unchanged.
2026-11-03 15:52:09 +01:00
..
outbound.go fix(link): keep IPv6 brackets in imported wireguard endpoints (#6976) 2026-11-03 15:52:09 +01:00
outbound_fuzz_test.go Test-quality audit: fix 2 prod bugs, strengthen weak tests, add mutation/fuzz/CI tooling (#5345) 2026-06-15 15:17:03 +02:00
outbound_helpers_test.go fix(link): keep IPv6 brackets in imported wireguard endpoints (#6976) 2026-11-03 15:52:09 +01:00
outbound_test.go fix(link): accept padded URL-safe base64 in vmess links (#6975) 2026-11-02 15:10:13 +01:00