Welcome Guest, Not a member yet? Register   Sign In
Temporarily override global_xss_filtering
#2

[eluser]mattots[/eluser]
I found another post that addressed this issue and, although not quite the solution advocated there, came up with this rather dirty hack, which works nevertheless:

if (strpos($_SERVER['REQUEST_URI'], '/controller/method') > -1){
$config['global_xss_filtering'] = FALSE;
}
else {
$config['global_xss_filtering'] = TRUE;
}

If anyone has a neater method that doesn't involve lots of extra code to acheive, I'd be interested to hear!

Matt


Messages In This Thread
Temporarily override global_xss_filtering - by El Forum - 09-04-2009, 09:07 AM
Temporarily override global_xss_filtering - by El Forum - 09-04-2009, 09:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB