When passing parameters to URI in CI, the URI you submitted has disabled characters. error appears.
Cause: This is because there are characters that are not allowed in CI in uri.
Solution:
In the config/ file, find
Copy the codeThe code is as follows:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_/-i';
Add allowed characters to it. If I need to add the @ symbol, I can do this:
Copy the codeThe code is as follows:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_/-i@ ';