Discuz!小编 发表于 2025-1-4 22:44:46

discuz3.3升级3.4之后,开启缓存就会URL错误 5金币 .anslist{background:url(source/plugin/keke_answer/template/images/coin.png) left center no-repeat;font-family:Microsoft Yahei; padding:2px 0px 2px 20px; margin:0px 0px 0px 10px; font-size:12px; color:#F30; text-decoration:

discuz3.3升级3.4之后,开启缓存就会出现本站的URL不能识别,如图所示。


只要关闭论坛首页缓存和帖子缓存就又正常了。
请问怎么修复这个问题?

我知道答案 回答被采纳将会获得1 贡献 + 5 金币 已有7人回答

KarlMock59 发表于 2025-1-4 22:45:12

没遇到过这种情况呢;估计要 查代码看看了……

Jessie 发表于 2025-1-4 22:46:02

后台任何设置之后,在工具里清空缓存。

瑾瑜 发表于 2025-1-4 22:46:22

清空缓存还是不行呀

杰克 发表于 2025-1-4 22:46:49

看不懂你的截图是来自于哪里

杰克 发表于 2025-1-4 22:47:48

对于小站,感觉缓存没啥用。小站本来也是修修改改的,有了缓存反而别纽。

瑾瑜 发表于 2025-1-4 22:47:54

已找到问题所在,discuz3.4 GBK版 function_core.php这个文件中的函数function output() 对缓存输出的安全过滤方法有问题。

Sylvia 发表于 2025-1-4 22:48:35

将7楼置顶
页: [1]
查看完整版本: discuz3.3升级3.4之后,开启缓存就会URL错误 5金币 .anslist{background:url(source/plugin/keke_answer/template/images/coin.png) left center no-repeat;font-family:Microsoft Yahei; padding:2px 0px 2px 20px; margin:0px 0px 0px 10px; font-size:12px; color:#F30; text-decoration: