How to solve codeigniter Framework The URI you submitted has disallowed characters errors
This article introduces the knowledge about "how to solve the codeigniter framework The URI you submitted has disallowed characters error". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
The URI you submitted has disallowed characters.
Reason: This is because there are characters in uri that CI does not allow.
Solution:
In the config/config.php file, find
The copy code is as follows:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_/- i';
Add allowed characters to it. If I need to add an @ symbol, I can do this:
The copy code is as follows:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_/- i@ ';
"The URI you submitted has disallowed characters error" is introduced here. Thank you for reading it. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!