[GH-ISSUE #5738] [Bug]: Support URL #3988

Closed
opened 2026-10-31 20:36:22 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Morteza820 on GitHub (Jul 2, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5738

Describe the bug

Dear Sanaei,
when we want to add supp url like telegram link , it added after the domain like when people click on support url in subscription page it redirects to domain.com/link..
BR,

How to reproduce the problem

Dear Sanaei,
when we want to add supp url like telegram link , it added after the domain like when people click on support url in subscription page it redirects to domain.com/link..
BR,

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.4.2

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

22.02

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @Morteza820 on GitHub (Jul 2, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5738 ### Describe the bug Dear Sanaei, when we want to add supp url like telegram link , it added after the domain like when people click on support url in subscription page it redirects to domain.com/link.. BR, ### How to reproduce the problem Dear Sanaei, when we want to add supp url like telegram link , it added after the domain like when people click on support url in subscription page it redirects to domain.com/link.. BR, ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.4.2 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system 22.02 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:36:22 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (Jul 2, 2026):

Fixed in fb3a1559. The support URL was stored and served exactly as typed; a value without a scheme (e.g. t.me/yourchannel) is treated by browsers/client apps as a relative link and resolved against your subscription domain — hence domain.com/t.me/.... The panel now defaults https:// onto scheme-less support and profile URLs, both when saving and when serving already-stored values, so existing setups are covered without re-saving. Explicit schemes like tg:// or mailto: are left untouched. Until the next release, just include the scheme when entering the URL: https://t.me/yourchannel.

<!-- gh-comment-id:4865447549 --> @MHSanaei commented on GitHub (Jul 2, 2026): Fixed in fb3a1559. The support URL was stored and served exactly as typed; a value without a scheme (e.g. `t.me/yourchannel`) is treated by browsers/client apps as a relative link and resolved against your subscription domain — hence `domain.com/t.me/...`. The panel now defaults `https://` onto scheme-less support and profile URLs, both when saving and when serving already-stored values, so existing setups are covered without re-saving. Explicit schemes like `tg://` or `mailto:` are left untouched. Until the next release, just include the scheme when entering the URL: `https://t.me/yourchannel`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3988
No description provided.