mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4767] [Bug]: Outbound link parsing #3306
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrekin on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4767
Describe the bug
Problem with importing vless link generated by 3X-UI (both 3.2.5)
vless + xhttp + encription
vless://xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx@server.org:443?encryption=somedata&extra=someextra&host=server.org&mode=auto&path=somepath&security=tls&type=xhttp&x_padding_bytes=100-1000#mainencription field not parsed, works after manual pasting in UI
How to reproduce the problem
Expected behavior
Pull link pasring include encription
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.2.5
Xray-core version
No response
How did you install 3x-ui?
Docker / Docker Compose
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
Xray config generation
Browser (only if it is a UI bug)
Vivaldi 8.0
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jun 1, 2026):
Thanks for the clear report! This is a confirmed code-level bug.
Root cause: In
frontend/src/lib/xray/outbound-form-adapter.tsat line 126, theencryptionfield for VLESS outbounds is hardcoded to always output'none':Both branches of the ternary return
'none', so even though the link parser correctly readsencryption=somedatafrom the URL query string (inoutbound-link-parser.ts), the value is silently discarded when the parsed data is mapped to the form state.Fix: The line should pass through the actual parsed value, e.g.:
(VLESS encryption is typed as
'none'in most contexts, but the raw string value from the link should still be forwarded rather than dropped.)A PR fixing this line would be very welcome — this is a well-contained, isolated change.
@mrekin commented on GitHub (Jun 1, 2026):
Same as #4754 (missed while search similar bugs..)
@MHSanaei commented on GitHub (Jun 1, 2026):
fixed
13c04bb982