• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.