mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #7063] add Rabbit-Hole UA #6628
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#6628
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/7063
Author: @stefjen07
Created: 11/4/2026
Status: 🔄 Open
Base:
main← Head:patch-1📝 Commits (1)
287f14eUpdate setting.go📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
internal/web/service/setting.go(+1 -1)📄 Description
Summary
Adding RabbitHole client user agent
Example:
Rabbit-Hole/iOS (1.5.0-207; language en_US)RabbitHole:
Why
RabbitHole uses Mihomo core and sends
Rabbit-Hole/User-Agent. The existing default regex only recognizesclashandmihomo, so requests using the new User-Agent don't receive Clash/Mihomo subscriptionType of change
Areas affected
How was this tested?
Verified responses for different Mihomo user agents and ran tests locally
Breaking changes
None
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.