Welcome Guest, Not a member yet? Register   Sign In
for_validation prepping my data without asking?
#1

[eluser]smick[/eluser]
So I just noticed that global_xss_filtering is turned on for the site I'm working on, and quotes are being converted to what looks like html entities.

I'm writing an edit form, which repopulates from the database, but in the text boxes the html entities of course aren't rendering in text boxes, is there a way to convert html entities back to unicode?

I tried the php html_entity_decode() function but it isn't working, and I'm not quite sure what CI is converting quotes to.

Thanks for any help!
#2

[eluser]smick[/eluser]
Ok, so I disabled global xss filtering and things are still getting converted into html entities.

Does the form_validation class automatically do this? How can I disable it so I can keep pure utf-8? This sucks.




Theme © iAndrew 2016 - Forum software by © MyBB