Welcome Guest, Not a member yet? Register   Sign In
xss_clean in CI 3
#10

to answer concisely and effectively : $config['global_xss_filtering'] = TRUE is deprecated and just to assure interdependence between versions of CI.
Instead Use :
- $this->security->xss_clean($data) ; // on each data. NO need to load the class Security
// you can see $this->input->post($v, TRUE) or $this->input->get('some_data', TRUE);
// (http://www.codeigniter.com/userguide3/li...-filtering)
- or xss_clean($data) and before load security helper for using this function

have a good day.


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



Theme © iAndrew 2016 - Forum software by © MyBB