Skip to content

fix(dashboard): dashboard account management page width adaptive#161

Closed
Kloping wants to merge 2 commits into
dwgx:masterfrom
Kloping:master
Closed

fix(dashboard): dashboard account management page width adaptive#161
Kloping wants to merge 2 commits into
dwgx:masterfrom
Kloping:master

Conversation

@Kloping

@Kloping Kloping commented May 10, 2026

Copy link
Copy Markdown

改了什么 / What changed

页面宽屏布局

为什么 / Why

账号 邮箱过长无法点击操作

测试 / Testing

修改前:
f466f20d-1e48-4c45-913c-6b814cde0fb6
修改后:
image

Kloping added 2 commits May 10, 2026 16:45
- 注释掉对私有IP地址的检查逻辑以避免错误抛出
- 保留IP地址解析和验证的基本功能
- 移除可能导致合法请求被拒绝的私有IP检测代码
@dwgx

dwgx commented May 12, 2026

Copy link
Copy Markdown
Owner

dashboard 宽度修复采纳了,已合入。

但第二个 commit(注释 net-safety.js 私有IP检查)不能合。isPrivateIp 是 SSRF 防护 — 阻止代理被用于扫描内网(AWS metadata、Docker socket、内网数据库等)。去掉这个检查等于把代理变成内网探测工具。

你的代理要连内网IP的话设 ALLOW_PRIVATE_PROXY_HOSTS=1 就行,不需要去掉安全检查。关了。

@dwgx dwgx closed this May 12, 2026
@Kloping

Kloping commented May 12, 2026

Copy link
Copy Markdown
Author

OK 感谢告知

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