Discuz X3.1 get-through version. A prompt is displayed when you send a reply: Your request is incorrect or the form verification string does not match, and the problem cannot be solved. discuzx3.1
After Discuz X3.1 is connected, the following message is displayed when a reply is published on the mobile phone: "Your request is incorrect or the form verification string does not match and cannot be submitted:
Find \ source \ class \ helper \ helper_form.php under the website directory:
AddRed textThe marked part.
If ($ allowget | ($ _ SERVER ['request _ method'] = 'post '&&! Empty ($ _ GET ['formhash']) & $ _ GET ['formhash'] = formhash () & empty ($ _ SERVER ['HTTP _ X_FLASH_VERSION ']) & (empty ($ _ SERVER ['HTTP _ referer']) |
Strncmp ($ _ SERVER ['HTTP _ referer'], 'HTTP: // wsq.discuz.qq.com ', 24) === 0 | strncmp ($ _ SERVER ['HTTP _ referer'], 'HTTP: // m.wsq.qq.com ', 19) === 0 |