CodeIgniter Forums
Is xss_clean enough to stop SQL injection attacks or to be safe? - 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: Is xss_clean enough to stop SQL injection attacks or to be safe? (/showthread.php?tid=24973)

Pages: 1 2


Is xss_clean enough to stop SQL injection attacks or to be safe? - El Forum - 11-27-2009

[eluser]skunkbad[/eluser]
[quote author="bugboy" date="1259337870"]Well after digging around in the form_validation library i found this function call

// Now we need to re-set the POST data with the new, processed data
$this->_reset_post_array();

So it looks like the post data is updated after the form validation is run

After the validation is done the post data is updated with a $this->input->post('field);[/quote]

Like I said, set_value().