Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB