Welcome Guest, Not a member yet? Register   Sign In
xss clean issue
#1

(This post was last modified: 03-15-2018, 07:03 AM by michaelv.)

hello
CI 3.1.5
i have an issue with a form validation +xss_clean,
input string is : route val de soane

$this->form_validation
->set_rules('adresse', 'Adresse', 'required|xss_clean|trim|max_length[255]')...

print_r($_POST['adresse1'])
>route val de soane

print_r($this->input->post('adresse1'))
>routeval de soane

the xss_clean feature remove the space beetwen route & val

any way to avoid this?

sytem/core/Security.php line 448 if i remove 'eval' from the $words array no probleme
Reply


Messages In This Thread
xss clean issue - by michaelv - 03-15-2018, 06:58 AM
RE: xss clean issue - by jreklund - 03-15-2018, 12:40 PM
RE: xss clean issue - by dave friend - 03-16-2018, 07:49 AM
RE: xss clean issue - by michaelv - 03-16-2018, 07:58 AM
RE: xss clean issue - by dave friend - 03-16-2018, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB