[PR #4426] [MERGED] fix: parse XHTTP extra fields from V2Ray links and v2rayN JSON imports #5688

Closed
opened 2026-11-02 04:03:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • 24f185a fix: parse XHTTP extra fields from V2Ray links and v2rayN JSON imports
  • e526a95 Merge 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 the extra JSON query parameter in VLESS/Trojan/SS share links.
  • VLESSSettings.fromJson: Handles v2rayN-style nested vnext array for address/port/id/flow/encryption; previously only the flat address/port/id format was recognized.
  • StreamSettings.fromJson: Accepts splithttpSettings as backward-compat alias for xhttpSettings, and normalizes splithttp network name to xhttp.

Closes #4406


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/4426 **Author:** [@abdalrahmanx9](https://github.com/abdalrahmanx9) **Created:** 5/16/2026 **Status:** ✅ Merged **Merged:** 5/19/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `fix/xhttp-outbound-import` --- ### 📝 Commits (2) - [`24f185a`](https://github.com/MHSanaei/3x-ui/commit/24f185a89de6754eb700853eb923bcc25f58a1f3) fix: parse XHTTP extra fields from V2Ray links and v2rayN JSON imports - [`e526a95`](https://github.com/MHSanaei/3x-ui/commit/e526a9553d6cc352d118d6e42cce0605384c9f53) Merge branch 'main' into fix/xhttp-outbound-import ### 📊 Changes **1 file changed** (+58 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/models/outbound.js` (+58 -6) </details> ### 📄 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 the `extra` JSON query parameter in VLESS/Trojan/SS share links. - **`VLESSSettings.fromJson`**: Handles v2rayN-style nested `vnext` array for address/port/id/flow/encryption; previously only the flat `address`/`port`/`id` format was recognized. - **`StreamSettings.fromJson`**: Accepts `splithttpSettings` as backward-compat alias for `xhttpSettings`, and normalizes `splithttp` network name to `xhttp`. Closes #4406 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:03:21 +07:00
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#5688
No description provided.