Welcome Guest, Not a member yet? Register   Sign In
Doesn't active record sanitize input anymore?
#1

[eluser]FinalFrag[/eluser]
I have a textfield on a form.
When I click submit, I retrieve the information in my controller using
Code:
$this->input->post('textfield');

Then I use a model (with active record) to store the input in a database.

My problem is: when I enter
Code:
<b>hello</b><i>world</i>

in the textfield... it doesn't get escaped...

Did they remove the auto-escape feature from CI in 1.7 or am I doing something else wrong?

Thnx


Messages In This Thread
Doesn't active record sanitize input anymore? - by El Forum - 12-13-2008, 05:52 PM
Doesn't active record sanitize input anymore? - by El Forum - 12-13-2008, 07:19 PM
Doesn't active record sanitize input anymore? - by El Forum - 12-13-2008, 07:40 PM
Doesn't active record sanitize input anymore? - by El Forum - 12-13-2008, 09:40 PM
Doesn't active record sanitize input anymore? - by El Forum - 12-14-2008, 07:54 AM
Doesn't active record sanitize input anymore? - by El Forum - 12-14-2008, 10:48 AM
Doesn't active record sanitize input anymore? - by El Forum - 12-14-2008, 12:24 PM
Doesn't active record sanitize input anymore? - by El Forum - 12-14-2008, 01:23 PM
Doesn't active record sanitize input anymore? - by El Forum - 12-14-2008, 01:27 PM
Doesn't active record sanitize input anymore? - by El Forum - 12-14-2008, 01:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB