mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #4183] [MERGED] chore: fix shadowrocketUrl client #5621
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#5621
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/4183
Author: @harryngne
Created: 5/7/2026
Status: ✅ Merged
Merged: 5/7/2026
Merged by: @MHSanaei
Base:
main← Head:mansory-changes📝 Commits (1)
fcfcfacchore: fix shadowrocketUrl client📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
web/assets/js/subscription.js(+3 -2)📄 Description
What is the pull request?
Fix Shadowrocket subscription URL failing when remark or
subscription URL contains Unicode characters (e.g. Vietnamese,
Chinese, Arabic).
btoa()throws an error on non-Latin characters,causing the Shadowrocket link to break silently.
Which part of the application is affected by the change?
Type of Changes
Screenshots
Before:
btoa()throwsInvalidCharacterErroron Unicode inputAfter: Unicode characters are safely encoded before base64 conversion
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.