Welcome Guest, Not a member yet? Register   Sign In
XSS Protection Problem - it blocks the page
#1

[eluser]xcristi[/eluser]
Hello,

Well, I turn on the XSS protection in CI configuration for automatic clean up. When I enter something nasty in a textarea, the filtering seems to work (?) but I get only a blank page as a result. The error thrown in logs is:

Code:
PHP Fatal error:  Call to undefined function:  get_instance() in /home/html/soimul/system/libraries/Input.php on line 855

I turn off this feature and try with some manual clean up ($this->input->post('field', 'true')) and it works very well. I can go on and use it this way, but it will be more convenient to do it automatically.

What do you think it's wrong in the first case?
Thanks.


Messages In This Thread
XSS Protection Problem - it blocks the page - by El Forum - 09-09-2007, 11:11 PM
XSS Protection Problem - it blocks the page - by El Forum - 09-09-2007, 11:56 PM
XSS Protection Problem - it blocks the page - by El Forum - 09-10-2007, 04:50 AM
XSS Protection Problem - it blocks the page - by El Forum - 10-22-2007, 08:17 PM
XSS Protection Problem - it blocks the page - by El Forum - 12-27-2007, 08:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB