I was going over the Input class to understand how it works. And, it seems to be doing the following:
foreach($_POST as $key => $val) {
$_POST[$this->_clean_input_keys($key)] = $this->_clean_input_data($val);
}
But, this does not remove cleaned items, and keep adding stuff to the _POST array???? Is it not supposed to remove the old values, i.e. something like this:
$newPost = array();
foreach($_POST as $key => $val) {
$newPost[$this->_clean_input_keys($key)] = $this->_clean_input_data($val);
}
$_POST = $newPost;
Same goes for the cookies, any suggestions?
