mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #4426] [MERGED] fix: parse XHTTP extra fields from V2Ray links and v2rayN JSON imports #5688
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#5688
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/4426
Author: @abdalrahmanx9
Created: 5/16/2026
Status: ✅ Merged
Merged: 5/19/2026
Merged by: @MHSanaei
Base:
main← Head:fix/xhttp-outbound-import📝 Commits (2)
24f185afix: parse XHTTP extra fields from V2Ray links and v2rayN JSON importse526a95Merge branch 'main' into fix/xhttp-outbound-import📊 Changes
1 file changed (+58 additions, -6 deletions)
View changed files
📝
frontend/src/models/outbound.js(+58 -6)📄 Description
Summary
fromVmessLink: Parses all XHTTP bidirectional fields (xPaddingBytes, xPaddingObfsMode, session/seq/uplink placements & keys, scMaxEachPostBytes, headers) from VMess share link JSON — previously only path/host/mode were read.fromParamLink: Parses the same missing fields from theextraJSON query parameter in VLESS/Trojan/SS share links.VLESSSettings.fromJson: Handles v2rayN-style nestedvnextarray for address/port/id/flow/encryption; previously only the flataddress/port/idformat was recognized.StreamSettings.fromJson: AcceptssplithttpSettingsas backward-compat alias forxhttpSettings, and normalizessplithttpnetwork name toxhttp.Closes #4406
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.