mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6479] [MERGED] fix(link): keep verifyPeerCertByName (vcn) on Go TLS import #6295
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#6295
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/6479
Author: @mrchatam
Created: 9/11/2026
Status: ✅ Merged
Merged: 9/12/2026
Merged by: @MHSanaei
Base:
main← Head:fix/link-import-vcn📝 Commits (1)
bbc2b4dfix(link): map vcn to verifyPeerCertByName in applySecurity📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
internal/util/link/outbound.go(+1 -0)📝
internal/util/link/outbound_helpers_test.go(+2 -2)📄 Description
Summary
vcntotlsSettings.verifyPeerCertByNamein GoapplySecurity(TLS branch), matching the TS importer and the existing Hysteria2 Go path.TestParse_TLSSecurityMappedsovcnis asserted to survive round-trip through the Go parser.Fixes #6477
Test plan
go test ./internal/util/link/vcn=<cn>via a Go path (e.g. external JSON subscription) and confirm outboundtlsSettings.verifyPeerCertByNameis set🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.