system/Input.php escape filter Globel Variable key is there any problem? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: system/Input.php escape filter Globel Variable key is there any problem? (/showthread.php?tid=29174) |
system/Input.php escape filter Globel Variable key is there any problem? - El Forum - 04-01-2010 [eluser]Shiro[/eluser] I'm using CI 1.72 Input.php From the line 130 Code: // Is $_GET data allowed? If not we'll set the $_GET to an empty array CI run the function _clean_input_data, after that Code: function _clean_input_data($str) I would like to ask, if I do not filter the key, I change to Code: $new_array[$key] = $this->_clean_input_data($val); will there any security issue or hacking problem? I only escape $_GET. Please share your opinion |