Illegal websites should not initiate any form of manual service requests to our staff. It is strictly prohibited to use honmau Media's technical support services and products to engage in any illegal activities. If discovered, no technical support will be provided.×
Current location:home> news > help and support

The solution "Your current access request contains illegal characters and has been rejected by the system" appeared on the discuz forum

discuzWhat should I do when a forum site publishes a post or searches,"Your current access request contains illegal characters and has been rejected by the system" appears? After careful analysis, it was found that such an error prompt appeared when special symbols (,/,, etc.) appeared in the published body content. As shown in the following figure:

'discuz论坛出现“您当前的访问请求当中含有非法字符,已经被系统拒绝”的解决方案'

solutions

The main reason is that the security check in the configuration file of the discuz forum is related to it. The problem can be solved by modifying the configuration file of the discuz site, config/config_global.php, and disabling the security check.

Use the ftp tool to download the config_global.php file locally and open it with an editor. Locate to:

// ------------------------- CONFIG SECURITY -------------------------- //

$_config['security']['authkey'] = 'udp350ptajkj';

$_config['security']['urlxssdefend'] = 1;

$_config['security']['attackevasive'] = '0';

$_config['security']['querysafe']['status'] = 1;

find

$_config['security']['urlxssdefend'] = 1;

put

$_config['security']['urlxssdefend'] = 1;

changed to

$_config['security']['urlxssdefend'] ='0';

'discuz论坛出现“您当前的访问请求当中含有非法字符,已经被系统拒绝”的解决方案'

That is, the following number 1 is changed to 0, and finally the problem can be solved by overwriting the upload using the ftp tool.

© Website copyright and disclaimer

1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;

2. No one is allowed to copy it without the express written permission of [honmau Media];

3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;

4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;

5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice

Message Board
* Contact customer service for urgent issues
submitted
submission
Working days: 8:30 - 22:00 Online QQ

customer service

Company Introduction
top