Welcome Guest, Not a member yet? Register   Sign In
Overriding global XSS filtering
#3

[eluser]bubbafoley[/eluser]
you can turn xss filtering on/off when retrieving data.

Code:
$config['global_xss_filtering'] = TRUE;

Code:
$username = $this->input->post('username'); // filtered
$password = $this->input->post('password', FALSE); // unfiltered

== OR ==

Code:
$config['global_xss_filtering'] = FALSE;

Code:
$username = $this->input->post('username', TRUE); // filtered
$password = $this->input->post('password'); // unfiltered

Read more: http://www.gregaker.net/2011/mar/30/what..._i_use_it/


Messages In This Thread
Overriding global XSS filtering - by El Forum - 06-13-2011, 01:05 AM
Overriding global XSS filtering - by El Forum - 06-13-2011, 07:20 AM
Overriding global XSS filtering - by El Forum - 06-13-2011, 01:22 PM
Overriding global XSS filtering - by El Forum - 09-27-2013, 01:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB