mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
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#5813
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?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5185
Author: @rqzbeh
Created: 6/10/2026
Status: ✅ Merged
Merged: 6/11/2026
Merged by: @MHSanaei
Base:
main← Head:fix/vless-xhttp-vision📝 Commits (4)
8a4839ffix: enable XTLS vision flow for VLESS+XHTTP+vlessenc in UI and share links (#5157)d0f647fMerge branch 'main' into fix/vless-xhttp-vision16e0298Merge branch 'main' into fix/vless-xhttp-visionffa14d8fix: enable xtls-rprx-vision flow for VLESS XHTTP with vlessenc encryption (#5157)📊 Changes
12 files changed (+239 additions, -31 deletions)
View changed files
📝
frontend/public/openapi.json(+1 -1)📝
frontend/src/lib/xray/protocol-capabilities.ts(+24 -7)📝
frontend/src/pages/api-docs/endpoints.ts(+1 -1)📝
frontend/src/pages/inbounds/info/helpers.ts(+4 -0)📝
frontend/src/test/inbound-from-db.test.ts(+29 -0)📝
internal/sub/service.go(+19 -0)📝
internal/web/service/client_crud.go(+1 -1)📝
internal/web/service/client_flow_isolation_test.go(+16 -8)📝
internal/web/service/inbound.go(+1 -1)📝
internal/web/service/inbound_clients.go(+1 -1)📝
internal/web/service/inbound_protocol.go(+52 -11)➕
internal/web/service/inbound_protocol_test.go(+90 -0)📄 Description
Fixes #5157
Summary
This PR fixes two related bugs preventing \xtls-rprx-vision\ flow from working out of the box when using VLESS with XHTTP and \lessenc\ encryption:
one. It now correctly permits TLS flow configuration if the network is XHTTP and VLESS encryption (\lessenc) is enabled, allowing users to configure the Vision flow without hacking the API.
eality. It now correctly includes the flow parameter for XHTTP connections that use \lessenc, ensuring that the generated \less://\ links contain the required \low=xtls-rprx-vision.
Type of change
Areas affected
Checklist
pm run lint,
pm run typecheck, and
pm run build\ pass.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.