mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #4388] [MERGED] fix: correct Hysteria2 "Obfs password" label to "Auth password" #5681
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#5681
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/4388
Author: @abdalrahmanx9
Created: 5/14/2026
Status: ✅ Merged
Merged: 5/14/2026
Merged by: @MHSanaei
Base:
main← Head:fix/hysteria2-obfs-password-label📝 Commits (1)
99ff891fix: correct Hysteria2 Obfs password label to Auth password📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
frontend/src/pages/inbounds/InboundFormModal.vue(+2 -2)📄 Description
Summary
Fixes the mislabeled "Obfs password" field in the Hysteria2 inbound stream settings. The field was incorrectly bound to
hysteriaSettings.auth(Hysteria server authentication password) but labeled as obfuscation, misleading users into thinking they were configuring salamander obfuscation.Closes #4382
Problem
Per Xray-core FinalMask docs, Hysteria2 salamander obfuscation is configured through
finalmask.udp[].salamander.password— NOT throughhysteriaSettings.auth. The UI had a field labeled "Obfs password" bound tohysteriaSettings.auth, causing:HysteriaStreamSettings.fromJson()only reads known fields (protocol,version,auth,udpIdleTimeout,masquerade), silently dropping any manually-injectedobfuscationorobfsPasswordfieldsFix (1 file, +2/-2 lines)
Verification
salamandertype — correctly generatingfinalmask.udp[].salamander.passwordin the Xray configgenHysteriaLink()ininbound.jscorrectly reads the obfuscation password fromfinalmask.udp[].salamander.passwordand emitsobfs=salamander&obfs-password=xxxin share linksOutboundFormModal.vue:833🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.