xss_clean in CI 3 |
xss_clean is no longer part of form validation. The alternative is not to use it, as xss_clean is doing sanitization and not validation.
xss_clean is part of security helper. If you need to do it, after validation you do a: $this->load->helper('security'); $value = $this->input->post('formvalue', TRUE); // ...where TRUE enables the xss filtering ... i think... Also, you can enable global xss filtering in the config.php file: $config['global_xss_filtering'] = TRUE; Website: http://avenir.ro
|
Messages In This Thread |
xss_clean in CI 3 - by rocks - 02-17-2015, 10:27 PM
RE: xss_clean in CI 3 - by didi01 - 02-17-2015, 11:49 PM
RE: xss_clean in CI 3 - by Avenirer - 02-18-2015, 12:16 AM
RE: xss_clean in CI 3 - by Narf - 02-18-2015, 02:22 AM
RE: xss_clean in CI 3 - by rocks - 02-18-2015, 01:49 PM
RE: xss_clean in CI 3 - by Narf - 02-18-2015, 02:27 PM
RE: xss_clean in CI 3 - by Avenirer - 02-18-2015, 03:02 AM
RE: xss_clean in CI 3 - by twpmarketing - 02-18-2015, 08:56 AM
RE: xss_clean in CI 3 - by Narf - 02-18-2015, 09:28 AM
RE: xss_clean in CI 3 - by casa - 04-05-2015, 11:32 PM
RE: xss_clean in CI 3 - by zoƩ - 12-14-2016, 07:32 AM
RE: xss_clean in CI 3 - by wishmaster - 12-14-2016, 08:48 AM
|