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

数据库表cloud_record的ip字段,在IPV6访问下有溢出bug,需要修改数据库字段大小解决 #234

Open
q601904795 opened this issue Jan 9, 2025 · 1 comment

Comments

@q601904795
Copy link

2d7f2253-d4c9-4aa7-8c6a-01846927edf1

如图,第一个IPV6地址在缩写后刚好长度为19个字符

而图最后两个ipv6地址是全长度的地址,原本数据库ip字段长度为20个char,如果是较长IP地址访问会直接返回500错误无法获取插件列表和正常激活。

直接将数据库cloud_record表的IP字段长度修改为200后解决

@q601904795
Copy link
Author

看了一下数据库初始化文件,其他几个表的ip字段长度也是20。建议修改。

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

No branches or pull requests

1 participant