• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disallowed Key Characters

#1
[eluser]jorisw[/eluser]
Hi.

This is not a question about what this error means or how I get rid of it. I just want to know what the reasoning behind it was.

CodeIgniter checks $_GET, $_POST and $_COOKIE for disallowed characters. Mostly non-ASCII characters. Fine. I get that. Nothing wrong with some sanitation up front.

But what were the developers of CI thinking when they decided to just exit with "Disallowed Key Characters" in a blank screen upon encountering a disallowed key character?

Downsides:
- It completely breaks the application while the offending characters could simply have been filtered out.
- It doesn't tell the user anything.
- It exposes which framework was used to build the site.

Benefits: None.

For all that is holy, please, get rid of this rediculous exit() call at system/core/Input.php line 731 and replace it with something sensible.

Thank you.


Messages In This Thread
Disallowed Key Characters - by El Forum - 01-07-2013, 09:02 AM
Disallowed Key Characters - by El Forum - 01-07-2013, 11:20 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.