CodeIgniter Forums
XSS Filter and images - 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: XSS Filter and images (/showthread.php?tid=44854)



XSS Filter and images - El Forum - 08-29-2011

[eluser]wakey[/eluser]
Hi,

I am using TinyFCK to allow users to include images in when modifying content. I have noticed that if I filter input from the TinyFCK editor using - $this->input->post('some_data', TRUE);
, it strips the beginning of the image tag.

Is there a way around this - to filter the input but leave the image tag in tact?

Thanks.