dromara / hutool

🍬A set of tools that keep Java sweet.
https://hutool.cn
Other
29.05k stars 7.5k forks source link

hutool.cn首页无法打开 #3668

Closed zaiyunduan closed 2 months ago

zaiyunduan commented 2 months ago

版本情况

问题描述(包括截图)

hutool.cn 使用了cdn,https://cdn.staticfile.org。该cdn因高安全风险,被防火墙禁止访问了,导致首页无法使用

相关信息: https://blog.feizhuqwq.com/86 https://juejin.cn/post/7385061036828917760

  1. 堆栈信息 无
  2. 测试涉及到的文件(注意脱密) 无
looly commented 2 months ago

已经注意到相关情况,近期替换其它安全开放CDN,这个issue暂时保留。

famousprince commented 2 months ago

https://github.com/staticfile/static/issues/700#issuecomment-2245215079

看到这个 issue 了,建议不再使用 Staticfile,更换为 zstatic 或者南科大镜像,另外推荐加上 sri integrity,cdnjs 上的库可以在 cdnjs.com 上找到,或者用 srihash.org 生成。

- https://cdn.staticfile.org
+ https://s4.zstatic.net/ajax/libs
+ https://mirrors.sustech.edu.cn/cdnjs/ajax/libs
CherryRum commented 2 months ago

@famousprince 非常感谢

looly commented 2 months ago

已经完成zstatic替换。