hyperfire - 22 July 2011 04:14 AM
Is this really a CI 2.02 bug? Just lost a whole hour trying to figure out what’s wrong with the ckeditor aligment.
Disabling global XSS on config worked.
Is there a way to disable global for this specific field? Or any other workaround available?
Btw, Sudhakar@CI, implement ckeditor on CI is a breeze. Have you checked the forum?
http://codeigniter.com/forums/viewthread/127374/
Or even CI wiki?
Can anyone share some toughts on this issue? I need to save html on this project. Disabling styles on POST is the reason why my client clients are goin bananas and disable global XSS is not an option as well.
Thanks.
Just checked another post (http://codeigniter.com/forums/viewthread/191399/#903478) where bubbafoley suggested:
$config['global_xss_filtering'] = TRUE;
and then
$username = $this->input->post('username'); // filtered
$password = $this->input->post('password', FALSE); // unfiltered
But this does not work. Anyone?
Yes, that doesn’t work (I think it should be work, otherwise the False parameter is useless). So I simply remove the ‘style’ in system/core/security/_remove_evil_attributes