Welcome Guest, Not a member yet? Register   Sign In
i can't post string %10 to %19 by a form field by a form using post method
#1

Hi


i can't post string %10 to %19 by a form field by a form using post method. $this->input->post('varname') simply gives empty. do string %10 to %19 have special meaning. can somebody tell me a workaround? Thanks in advance.
Reply
#2

I had the same problem and I found it's a bug that was fixed in 3.0 but not in 2.2 : https://github.com/EllisLab/CodeIgniter/...45e5cfd39c

In the file system/core/Input.php, in _clean_input_data(), add FALSE as a second parameter to remove_invisible_characters:


PHP Code:
// Remove control characters
$str remove_invisible_characters($strFALSE); 
Reply




Theme © iAndrew 2016 - Forum software by © MyBB