打开:/source/class/discuz/discuz_application.php
搜索:
if(isset($_GET['formhash']) && $_GET['formhash'] !== formhash()) {
system_error('request_tainting');
}
改为:
if(isset($_GET['formhash']) && $_GET['formhash'] !== formhash()) {
//system_error('request_tainting');
//header('HTTP/1.1 301 Moved Permanently');
header("Location: https://".$_SERVER['HTTP_HOST']."/member.php?mod=logging&action=login");
exit;
}
备注:https根据实际情况修改http