i can't post string %10 to %19 by a form field by a form using post method - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: i can't post string %10 to %19 by a form field by a form using post method (/showthread.php?tid=564) |
i can't post string %10 to %19 by a form field by a form using post method - prashant.tyagi - 12-19-2014 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. RE: i can't post string %10 to %19 by a form field by a form using post method - includebeer - 12-19-2014 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/commit/5ac428bea999a332b46b17fe26ee0045e5cfd39c 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 |