• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
xss_clean

#3
[eluser]leighmarble[/eluser]
This just tripped me up, while upgrading from CI 1.7.2 to CI 2.1.1. Since that required six steps of upgrade, I'm not sure where this happened, but...

This is no longer valid, and kills execution of the script:

Code:
$this->input->xss_clean($example);

The Security class must apparently now be used instead of the Input class for XSS filtering. I did not see this anywhere in the upgrade steps.

Leigh


Messages In This Thread
xss_clean - by El Forum - 03-15-2011, 02:43 PM
xss_clean - by El Forum - 03-15-2011, 03:04 PM
xss_clean - by El Forum - 07-01-2012, 06:28 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.