hello everyone,
Uri::segment is returning empty when there's a number after a colon [:] on the first segment.
For example, this will return empty
domain.com/pag:2
But this will not
domain.com/pag:something
It works if it's on the second segment, like this:
domain.com/some:thing/pag:2
This is only happening on the server (PRODUCTION), not locally (DEVELOPMENT), although the application is exactly the same.
Help!
Hello
I'm not sure (maybe it's due to cgi php and how it works...)
but can you try addin the custom route, like:
'controller/method/(.*)' => 'controller/method'.
and see if it helps you
Thank you for your replies.
This is my basic routing:
'_root_' => 'list/index',
'_404_' => 'base/404',
'product/(:any)' => 'product/index/$1',
'pages/(:any)' => 'pages/index/$1',
'(:any)' => 'list/index/$1'
/
Thank you Dan, I just opened the issue on Github.