Welcome Guest, Not a member yet? Register   Sign In
_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);

??




Theme © iAndrew 2016 - Forum software by © MyBB