Execluding a variable from the XSS filter? |
[eluser]gungbao[/eluser]
see also the discussion here - http://ellislab.com/forums/viewthread/83358/ I understand it in that way, that you want to globally set Code: $config['global_xss_filtering'] = TRUE; but only for a particular controller-action, you want to set Code: $config['global_xss_filtering'] = FALSE; http://ellislab.com/codeigniter/user-gui...input.html My first idea is a little hack: make a pre_system hook as described here. http://ellislab.com/codeigniter/user-gui...hooks.html In the hook you parse the request-uri to check for the controller/action you want to disable global xss-filtering - since ci does not provide a nice&simple;access to the choosen controller/action in that state of the script. Once you have done that, you can globalize the $config['global_xss_filtering'] in the hook and switch it off. |
Messages In This Thread |
Execluding a variable from the XSS filter? - by El Forum - 08-12-2008, 12:14 PM
Execluding a variable from the XSS filter? - by El Forum - 08-12-2008, 04:36 PM
Execluding a variable from the XSS filter? - by El Forum - 08-21-2008, 02:15 PM
Execluding a variable from the XSS filter? - by El Forum - 09-07-2008, 01:17 PM
|