3x-ui/internal/util
MHSanaei fb3a1559b2 fix(sub): default https:// for scheme-less support and profile URLs
A support URL saved without a scheme (e.g. "t.me/handle") is served
verbatim in the subscription Support-Url header and page data, and client
apps resolve it relative to the subscription domain — clicking it lands
on "https://panel.example/t.me/handle". Same hazard for the profile URL.

Default the scheme to https:// when none is present, both when saving the
settings and when reading already-stored values, so existing databases are
covered without a migration. Deliberate non-http schemes (tg://, mailto:,
tel:) pass through untouched, which is why these two fields don't go
through SanitizeHTTPURL's http(s)-only validation.

Closes #5738
2026-07-02 13:47:10 +02:00
..
common fix(sub): default https:// for scheme-less support and profile URLs 2026-07-02 13:47:10 +02:00
crypto
json_util
ldap feat: ldap skip tls verify (#5637) 2026-06-28 18:10:38 +02:00
link
netproxy
netsafe
random style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
reflect_util
sys fix(lint): use errors.Is for io.EOF comparison in sys_linux 2026-06-27 16:38:07 +02:00
wirecodec
wireguard feat(wireguard): multi-client support 2026-06-28 00:44:38 +02:00