Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: set_value html_escape twice
Post: RE: set_value html_escape twice

I just found what was going wrong using the debug mode ! The form_prep method has a fallback case when the field has already been prepped. This case was preventing my values to be double encoded ! ...
10,932 Views
9 Replies
08-09-2015, 05:47 PM
FnX
    Thread: set_value html_escape twice
Post: RE: set_value html_escape twice

Narf Wrote: (08-05-2015, 12:53 PM) --  it can't have a parent. -- Exactly, this is not an object :) I think I found the actual issue. It is the html_escape function definition in Common.php. I cha...
10,932 Views
9 Replies
08-06-2015, 01:59 AM
FnX
    Thread: set_value html_escape twice
Post: RE: set_value html_escape twice

Avenirer Wrote: (08-05-2015, 06:18 AM) -- actually, the set_value() always escaped the output. The new third parameter was created to allow you NOT to escape the value (if you set it to FALSE). But y...
10,932 Views
9 Replies
08-05-2015, 11:30 AM
FnX
    Thread: set_value html_escape twice
Post: set_value html_escape twice

Hello, Since Codeigniter 3, set_value, by its new default third parameter value, escapes values before returning them. This is a problem when you make form HTML inputs using the form_helper like...
10,932 Views
9 Replies
08-04-2015, 03:22 AM
FnX
    Thread: preg_match(): Compilation failed: regular expression is too large
Post: RE: preg_match(): Compilation failed: regular expr...

Hello, I also get this error ! I didn't have it before updrading to codeigniter3. The workaround I found (end of post) is temporary and you don't want to leave it like that, it is a security breac...
35,337 Views
10 Replies
08-04-2015, 03:16 AM
FnX

Theme © iAndrew 2016 - Forum software by © MyBB