global xss - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: global xss (/showthread.php?tid=16771) |
global xss - El Forum - 03-16-2009 [eluser]Flying Fish[/eluser] I enabled global XSS filtering in my config file Code: ./system/application/config/config.php Code: $config['global_xss_filtering'] = TRUE; This means I never have to add xss_clean in my validation rules, is that right? global xss - El Forum - 03-16-2009 [eluser]TheFuzzy0ne[/eluser] Yes. Any input sent via the post method will be automatically sanitized for you. global xss - El Forum - 03-16-2009 [eluser]Flying Fish[/eluser] Great thanks. I'm doing so much with forms that it just seemed to make sense to enable it globally. |