Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebUI] 监听地址输入IPv6报错(前端) 与保存设置不重启WebUI导致监听地址无法立刻生效 与填入数值报错但仍可保存 #867

Closed
4 of 5 tasks
happilying opened this issue Jan 2, 2025 · 9 comments
Assignees
Labels
backend This is a backend bug bug 程序错误,有什么东西无法正常工作 confirmed 该问题已经过确认 priority: low 低优先级 webui This is a webui bug

Comments

@happilying
Copy link

WebUI 版本号 - Version

2.4.3 (2476139)

问题描述 - Issue Description

RT(虽然实际几乎没人需要,但个人属于ipv6狂热者(教育网伟大!🤣))

复现步骤 - Reproduce steps

不需要复现步骤

截图 - Screenshot

屏幕截图 2025-01-02 160728

额外信息 - Addition Information

No response

检查清单 - Check list

  • PeerBanHelper 已更新到最新版本,非最新版本不接受任何错误反馈,任何非最新版本的 Issue 将被 立 刻 关 闭,不会有人给您提供任何支持 (I'm running the latest version of PBH that can be found in Github Relases, non-latest release won't receive any support)
  • 我已检查过 PBH 文档(特别是常见问题),且即使使用了搜索也没有找到与此有关的内容 (This not a question/or the question that not listed in README's FAQ or PBH WIKI)
  • 我没有检查这个检查清单,只是闭眼选中了所有的复选框,请关闭这个 Issue (I have not read these checkboxes and therefore I just ticked them all, Please close this issue)
  • 所添加的下载器已满足 README 中的前置要求(如版本号和插件)(The downloaders that I've added already satisfied the requirements (E.g install plugins/adapters))
  • 我同意遵守 PBH-BTN 包容性条约,不发布 “嘲讽、骂战、引战、开盒(有时也称为人肉搜索)、人身攻击、仇恨、暴力、侮辱性言辞、违法违规、黑灰产、危害国家安全、实施或帮助他人实施电信犯罪” 等内容。并已知晓如果仍旧发布了这些内容,我的账号将立刻从包括但不限于 PBH-BTN 组织、社交软件中封禁。所有主题、内容都将被立刻删除或折叠,撤销、删除和收回您所做出的一切贡献,并封禁 BTN 网络的中账号权限、排除您所提交的所有数据。在您违反相关规则时,PBH-BTN 将会将您的注册、登录、和最近访问的 IP 地址、电子邮件地址、以及其它可能追踪您或将您去匿名化的信息从定期删除转为永不删除,并在任何国家或地区的政府、公安机关或有关部门需要时无通知的提供这些数据。 (I agree to abide by the PBH-BTN Inclusivity Pact by not posting content such as “taunting, name-calling, war-mongering, open-boxing (sometimes referred to as mansplaining), personal attacks, hatred, violence, insulting language, illegal activities, black and grey business, endangering national security, and committing or assisting others in committing telecommunication crimes”. I am aware that if I continue to post such content, my account will be immediately banned from organizations including but not limited to PBH-BTN, social software. All topics and content will be immediately deleted or collapsed, all contributions will be revoked, deleted and retracted, and you will be banned from the BTN network and all data you have submitted will be excluded. In the event of a violation of these rules, PBH-BTN will delete your registration, login, and most recent IP address, email address, and any other information that may be used to track you or de-anonymize you from regular to permanent deletion, and will make this data available to the government, public security, or other relevant authorities without notice if they request it, no matter what country or region.)
@Ghost-chu
Copy link
Collaborator

加个框 [] 包起来

@happilying
Copy link
Author

happilying commented Jan 2, 2025

加个框 [] 包起来

后端直接输入带括号的确实可以

@happilying
Copy link
Author

这是前端带了括号的后端结果:
屏幕截图 2025-01-02 163509
这是不带的结果:
屏幕截图 2025-01-02 163639
WebUI都报错为不是合法的IP地址

@happilying happilying changed the title [WebUI] 监听地址不支持IPv6? [WebUI] 监听地址输入IPv6报错(前端)与保存设置不重启WebUI导致监听地址无法立刻生效 Jan 2, 2025
@happilying
Copy link
Author

happilying commented Jan 2, 2025

而且还没有有效值判断(我输入空值虽然报错也可成功保存)🧐

@happilying happilying changed the title [WebUI] 监听地址输入IPv6报错(前端)与保存设置不重启WebUI导致监听地址无法立刻生效 [WebUI] 监听地址输入IPv6报错(前端) 与保存设置不重启WebUI导致监听地址无法立刻生效 与填入数值报错但仍可保存 Jan 2, 2025
@Ghost-chu Ghost-chu added bug 程序错误,有什么东西无法正常工作 priority: medium 中优先级 unconfirmed 该问题未经确认 webui This is a webui bug labels Jan 2, 2025
@Gaojianli
Copy link
Member

而且还没有有效值判断(我输入空值虽然报错也可成功保存)🧐

这个检测做不了 @Ghost-chu ,后端在提交的时间校验一下吧

@Gaojianli Gaojianli assigned Ghost-chu and unassigned Gaojianli Jan 3, 2025
@Gaojianli Gaojianli added confirmed 该问题已经过确认 backend This is a backend bug and removed unconfirmed 该问题未经确认 labels Jan 3, 2025
@Gaojianli
Copy link
Member

image

@happilying
Copy link
Author

happilying commented Jan 3, 2025

image

下面前缀似乎也有这个问题🧐

@happilying
Copy link
Author

image

下面前缀似乎也有这个问题🧐

屏幕截图_3-1-2025_164413_192 168 2 2

@Gaojianli
Copy link
Member

已经向上游提了issue了 PengJiyuan/b-validate#18

@Gaojianli Gaojianli added priority: low 低优先级 and removed priority: medium 中优先级 labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This is a backend bug bug 程序错误,有什么东西无法正常工作 confirmed 该问题已经过确认 priority: low 低优先级 webui This is a webui bug
Projects
None yet
Development

No branches or pull requests

3 participants