[PR #4424] [CLOSED] fix: preserve VLESS encryption/decryption when searching/filtering inbounds #5687

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/4424
Author: @abdalrahmanx9
Created: 5/16/2026
Status: ❌ Closed

Base: main ← Head: fix/vless-encryption-lost-on-search


📝 Commits (1)

  • 1e2fd82 fix: preserve VLESS encryption/decryption when searching/filtering inbounds (fixes #4405)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 frontend/src/pages/inbounds/InboundList.vue (+1 -1)

📄 Description

Summary

  • When using the search or filter in the Inbounds page, projectInbound() was constructing a new settings object with only the filtered clients array, dropping all protocol-specific fields like encryption and decryption for VLESS (x25519 / ML-KEM-768).
  • This caused copied client configs to show encryption=none instead of the actual encryption key.

Fix

frontend/src/pages/inbounds/InboundList.vue:146 — Spread the original parsed settings and override only clients with the filtered list:

// Before
next.settings = Inbound.Settings.fromJson(dbInbound.protocol, { clients: filtered });
// After
next.settings = Inbound.Settings.fromJson(dbInbound.protocol, { ...settings, clients: filtered });

This also benefits other protocols (e.g., Trojan fallbacks, Shadowsocks method/password/ivCheck) that could have been silently dropped.

Closes #4405


🔄 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/4424 **Author:** [@abdalrahmanx9](https://github.com/abdalrahmanx9) **Created:** 5/16/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/vless-encryption-lost-on-search` --- ### 📝 Commits (1) - [`1e2fd82`](https://github.com/MHSanaei/3x-ui/commit/1e2fd822e6e0c034495959e9704b8622e983afa6) fix: preserve VLESS encryption/decryption when searching/filtering inbounds (fixes #4405) ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/inbounds/InboundList.vue` (+1 -1) </details> ### 📄 Description ## Summary - When using the search or filter in the Inbounds page, `projectInbound()` was constructing a new settings object with only the filtered `clients` array, dropping all protocol-specific fields like `encryption` and `decryption` for VLESS (x25519 / ML-KEM-768). - This caused copied client configs to show `encryption=none` instead of the actual encryption key. ## Fix `frontend/src/pages/inbounds/InboundList.vue:146` — Spread the original parsed settings and override only `clients` with the filtered list: ```js // Before next.settings = Inbound.Settings.fromJson(dbInbound.protocol, { clients: filtered }); // After next.settings = Inbound.Settings.fromJson(dbInbound.protocol, { ...settings, clients: filtered }); ``` This also benefits other protocols (e.g., Trojan `fallbacks`, Shadowsocks `method`/`password`/`ivCheck`) that could have been silently dropped. Closes #4405 --- <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#5687
No description provided.