Skip to content

fix(proxy): harden strategy group selection#243

Merged
wnlen merged 1 commit intownlen:masterfrom
Babylonehy:fix/proxy-sh-bugfixes
Apr 30, 2026
Merged

fix(proxy): harden strategy group selection#243
wnlen merged 1 commit intownlen:masterfrom
Babylonehy:fix/proxy-sh-bugfixes

Conversation

@Babylonehy
Copy link
Copy Markdown

@Babylonehy Babylonehy commented Apr 29, 2026

变更内容

  • 修复策略组名称包含 emoji、中文、特殊字符时,yq 解析失败的问题
  • 修复调用 controller /proxies/{group} 接口时策略组名称未 URL 编码的问题
  • 修复节点名称写入 JSON payload 时的转义问题
  • 优化可切换策略组列表读取,避免 N+1 次 controller 请求导致列表不稳定
  • 延迟历史输出改用 tab 分隔,避免节点名包含 | 时解析错误

范围说明

本 PR 只包含 scripts/core/proxy.sh 相关 bugfix,不引入 TUI,也不引入 gum 安装依赖。

验证

  • bash -n scripts/core/proxy.sh
  • source proxy.sh 后检查中文和特殊字符节点名的 URL 编码结果

@wnlen wnlen merged commit bfab0b2 into wnlen:master Apr 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants