[PR #6452] [MERGED] fix(hosts): keep TLS override fields visible when Security is same #6274

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

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/6452
Author: @mrchatam
Created: 9/11/2026
Status: ✅ Merged
Merged: 9/12/2026
Merged by: @MHSanaei

Base: main ← Head: fix/hosts-same-security-fingerprint


📝 Commits (1)

  • 1e5d12e fix(hosts): keep TLS override fields visible when Security is same

📊 Changes

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

View changed files

📝 frontend/src/pages/hosts/HostFormModal.tsx (+2 -2)

📄 Description

Summary

Fixes #6444.

When a host's Security is set to same, Fingerprint / SNI (and related TLS override fields) were unmounted from HostFormModal while their values remained in the form store and continued to be saved. That trapped stale fingerprints so subscription links kept overriding the inbound's fingerprint.

Widen showTls / showTlsExtras so those fields stay reachable under same, using the existing allowClear / None controls as the escape hatch. No backend change — host fingerprint override on emission is intentional.

Test plan

  • Edit a host that previously had a fingerprint, set Security to same, confirm Fingerprint (and SNI) still appear
  • Clear Fingerprint to None, save, confirm subscription link inherits inbound fp instead of the stale host value
  • Sanity-check Security tls / reality / none still show the expected fields

🔄 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/6452 **Author:** [@mrchatam](https://github.com/mrchatam) **Created:** 9/11/2026 **Status:** ✅ Merged **Merged:** 9/12/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `fix/hosts-same-security-fingerprint` --- ### 📝 Commits (1) - [`1e5d12e`](https://github.com/MHSanaei/3x-ui/commit/1e5d12efc700ec4369f58ffcc08439ef48bb0c7d) fix(hosts): keep TLS override fields visible when Security is same ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/hosts/HostFormModal.tsx` (+2 -2) </details> ### 📄 Description ## Summary Fixes #6444. When a host's Security is set to `same`, Fingerprint / SNI (and related TLS override fields) were unmounted from `HostFormModal` while their values remained in the form store and continued to be saved. That trapped stale fingerprints so subscription links kept overriding the inbound's fingerprint. Widen `showTls` / `showTlsExtras` so those fields stay reachable under `same`, using the existing allowClear / None controls as the escape hatch. No backend change — host fingerprint override on emission is intentional. ## Test plan - [ ] Edit a host that previously had a fingerprint, set Security to `same`, confirm Fingerprint (and SNI) still appear - [ ] Clear Fingerprint to None, save, confirm subscription link inherits inbound `fp` instead of the stale host value - [ ] Sanity-check Security `tls` / `reality` / `none` still show the expected fields --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:07:35 +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#6274
No description provided.