The URI you submitted has disallowed characters.
How do I intercept this error? Is their a callback_ function? This error occurs when I try to use an = in the URL. E.g. I put 1=1 — I get this this error. Instead of the error page I want to redirect('main/cate/page');
How do I catch this error and redirect instead of displaying “An error was encountered page”
Looks like the error is being thrown in
system/core/URI.php. Luckily, you can extend core classes. Create a file inapplication/corecalledMY_URI.phpand override the function: