-
Notifications
You must be signed in to change notification settings - Fork 412
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
所有链接都报CSRF防御错误 #115
Comments
先将 Line 22 in 024ebaf
false 关掉csrf然后打开 /index.php?plugin=wmzz_debug 找到 $_SERVER['HTTP_REFERER'] 的域名填到 设置中心 -> 全局设置 -> 站点地址 里面,比如 https://example.com/index.php?mod=admin:plugins 就填 https://example.com/ 然后提交保存最后回去把 config.php 那里的 csrf 改回 true
|
不行, |
顺便再问个问题,我更新那里刷多了几次检测到更新包了,但是更新时提示无法解压更新包,这个怎么解决? |
可能是权限不足?我发现docker安装的版本是4.92,现在版本应该是4.95 |
|
原来还可以这样,我之前还想着怎么把压缩包弄进去解压覆盖。 |
我的config.php代码在pull之后加入了很多^M符号,不知道是不是我编辑过的原因,然后我在https://github.com/MoeNetwork/Tieba-Cloud-Sign/blob/master/config.php 上找到了原来的配置文件。 |
vim显示的^M就是\r换行符,我记得config.php里是\n而不是windows记事本用的\r\n换行符 |
之前一切正常的,今天把程序删了重新用docker部署,结果不管是设置那里的提交更改还是退出登录,所有的链接都提示【CSRF防御:错误的请求来源】,而且更新那里一直提示【检查更新失败:无法获取最新版本信息。】
The text was updated successfully, but these errors were encountered: