• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_clean_input_keys in system/core/input.php uses exit() instead of show_error() and http status 400

#1
[eluser]Bad Penguin[/eluser]
In system/core/input.php the function _clean_input_keys
output the error with:
Code:
exit('Disallowed Key Characters.');

shouldn't it use show_error to return a better HTTP status instead?
As already is done in system/core/URI.php
with:
Code:
show_error('The URI you submitted has disallowed characters.', 400);

??


Messages In This Thread
_clean_input_keys in system/core/input.php uses exit() instead of show_error() and http status 400 - by El Forum - 06-01-2011, 08:21 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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