Welcome Guest, Not a member yet? Register   Sign In
Disable 'global_xss_filtering' passing parameters by post
#1

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
Reply
#2

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB