亚洲无码av在线免费观看,国产午夜激无码av片在线观看,久久精品人妻一区二区三区,中文精品久久久久鬼色,体育生GAY爽擼又大又粗的雞巴

宏博網(wǎng)絡(luò) | 專(zhuān)注互聯(lián)網(wǎng)品牌一站式服務(wù)

Thank you for visiting

029-81773686

全網(wǎng)開(kāi)發(fā)&整合營(yíng)銷(xiāo)服務(wù)商

CopyRight
?HOOBOO All rights reserved

全網(wǎng)開(kāi)發(fā)&整合營(yíng)銷(xiāo)服務(wù)商

029-81773686

discuz升級(jí)造成的“您當(dāng)前的訪(fǎng)問(wèn)請(qǐng)求當(dāng)中含有非法字符”

2014.04.14


解決方案:
\source\class\discuz的discuz_application.php

找到:
private function _xss_check() {

                static $check = array('"', '>', '<', '\'', '(', ')', 'CONTENT-TRANSFER-ENCODING');

                if(isset($_GET['formhash']) && $_GET['formhash'] !== formhash()) {
                        system_error('request_tainting');
                }

                if($_SERVER['REQUEST_METHOD'] == 'GET' ) {
                        $temp = $_SERVER['REQUEST_URI'];
                } elseif(empty ($_GET['formhash'])) {
                        $temp = $_SERVER['REQUEST_URI'].file_get_contents('php://input');
                } else {
                        $temp = '';
                }

                if(!empty($temp)) {
                        $temp = strtoupper(urldecode(urldecode($temp)));
                        foreach ($check as $str) {
                                if(strpos($temp, $str) !== false) {
                                        system_error('request_tainting');
                                }
                        }
                }

                return true;
        }

替換為:
private function _xss_check() {
                $temp = strtoupper(urldecode(urldecode($_SERVER['REQUEST_URI'])));
                if(strpos($temp, '<') !== false || strpos($temp, '"') !== false || strpos($temp, 'CONTENT-TRANSFER-ENCODING') !== false) {
                        system_error('request_tainting');
                }
                return true;
        }

上一篇:暫時(shí)沒(méi)有數(shù)據(jù)

下一篇:Discuz掌上論壇獨(dú)立版宣傳頁(yè)出現(xiàn)亂碼

CopyRight ? 西安宏博網(wǎng)絡(luò)科技有限公司   備案號(hào):陜ICP備10007014號(hào)-8   站點(diǎn)地圖 免責(zé)聲明:本網(wǎng)站部分資源來(lái)源于網(wǎng)絡(luò),如有侵權(quán),請(qǐng)聯(lián)系我們告知?jiǎng)h除,我們將會(huì)盡快處理,謝謝!本站不承擔(dān)任何法律責(zé)任。