3x-ui/sub
MHSanaei 3f6fe1167d
fix(sub): don't leak loopback bind IP into link host
When the sub server is reached on a loopback/unspecified host (e.g. 127.0.0.2 from its Listen IP bind), the request host was used as the link address. Substitute the configured Subscription/Web Domain, or normalize loopback to localhost, so the sub link address matches the panel's Client Information.
2026-05-31 03:34:17 +02:00
..
default.json
dist.go
links.go feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
links_test.go
sub.go feat: complete Zod migration of frontend + bulk client batching (#4599) 2026-05-27 04:26:50 +02:00
subClashService.go feat(tls): surface pinnedPeerCertSha256 in panel, share links, and subs 2026-05-28 19:32:10 +02:00
subClashService_test.go
subController.go feat(sub): add HEAD method support for subscription endpoints (#4684) 2026-05-30 14:40:18 +02:00
subJsonService.go feat(tls): surface pinnedPeerCertSha256 in panel, share links, and subs 2026-05-28 19:32:10 +02:00
subService.go fix(sub): don't leak loopback bind IP into link host 2026-05-31 03:34:17 +02:00
subService_test.go fix(sub): don't leak loopback bind IP into link host 2026-05-31 03:34:17 +02:00