3x-ui/internal/util/link
Jay Hemnani ff3f42ee2a
fix(link): read fm and the mKCP fields from vmess links (#6809)
#6480 taught the vless/trojan importers to rebuild the mKCP header and
seed and left the vmess importers ignoring fm. The vmess emitter writes
the finalmask as fm, the mKCP header as type and the seed as path, plus
mtu/tti. Both importers dropped all of them, so a vmess mKCP inbound
with a seed, a header or any finalmask UDP mask (salamander, ...) came
back from an outbound subscription, a client external link or the
outbound form's link import as an outbound that cannot connect.

Feed those fields through the same finalmask and kcp helpers the
url-param protocols use, in the Go and TS importers.
2026-10-14 15:34:06 +02:00
..
outbound.go fix(link): read fm and the mKCP fields from vmess links (#6809) 2026-10-14 15:34:06 +02: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): read fm and the mKCP fields from vmess links (#6809) 2026-10-14 15:34:06 +02:00
outbound_test.go fix(finalmask): keep a single udphop mask last in every client finalmask 2026-10-11 18:02:12 +02:00