Disable 'global_xss_filtering' passing parameters by post - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 2.x (https://forum.codeigniter.com/forumdisplay.php?fid=18) +--- Thread: Disable 'global_xss_filtering' passing parameters by post (/showthread.php?tid=61764) |
Disable 'global_xss_filtering' passing parameters by post - migueltorres - 05-14-2015 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 RE: Disable 'global_xss_filtering' passing parameters by post - kenjis - 05-14-2015 You should turn off in config.php: https://github.com/bcit-ci/CodeIgniter/blob/2.2-stable/application/config/config.php#L284 "global_xss_filtering" is depreciated in 3.0: https://github.com/bcit-ci/CodeIgniter/blob/master/application/config/config.php#L409-410 You can't change it in controllers, because it has already applied before reaching controllers. |