CodeIgniter Forums
can not get parameters from url in 3RC3 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: can not get parameters from url in 3RC3 (/showthread.php?tid=1534)



can not get parameters from url in 3RC3 - rk128 - 03-18-2015

Hi all.
after upgrade rc3 from rc1, can not get params from url.

URL params:
   dashboard/user/list?filter=company_id:1&order=registered_date:asc

Route defined:
   $route['dashboard/user/list']['get'] = 'UserController/user_list_action';

how can I fix these?
it is very closed to deadline, save me.
thanks.


RE: can not get parameters from url in 3RC3 - Narf - 03-19-2015

I suspect this has something to do with URL-encoding, so urldecode() might come handy.

However, your question is very unclear. What do you mean you can't get parameters?


RE: can not get parameters from url in 3RC3 - rk128 - 03-19-2015

(03-19-2015, 03:02 AM)Narf Wrote: I suspect this has something to do with URL-encoding, so urldecode() might come handy.

However, your question is very unclear. What do you mean you can't get parameters?

provblem is:
can not get parameter, view not displayed and jump to top page directly.

but after change uri protocol to PATH_INFO in config, it works.
$config['uri_protocol'] = 'PATH_INFO';

thank you.