- "Sorry, your request was not routed correctly or the form validation string did not match, unable to submit"
Open "Source\class\helper\helper_form.php" and then "$_get[' formhash '] = = Formhash ()" modified to "$_g[' formhash '] = = Formhash () "
- Your current access request contains illegal characters that have been rejected by the system
Find the discuz_application.php replacement for \source\class\discuz
Privatefunction _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; }
To be replaced by:
Privatefunction _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; }
Recently encountered discuz some problem solving methods