CodeIgniter Forums

Full Version: Disable 'global_xss_filtering' passing parameters by post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How I can disable 'global_xss_filtering' to pass parameters by post?

And I tried to change the value in the controller that receives the parameters so
'$ this-> config-> set_item (' global_xss_filtering ', FALSE);' but this has not worked for me.

Any idea to solve this
You should turn off in config.php:
https://github.com/bcit-ci/CodeIgniter/b...g.php#L284

"global_xss_filtering" is depreciated in 3.0:
https://github.com/bcit-ci/CodeIgniter/b...p#L409-410

You can't change it in controllers, because it has already applied before reaching controllers.