Hi.
I again have a router problem :p I updated akelos from r1153 to r1205 and it screwed my application up. I changed nothing but updating akelos.
It appears that the router cuts the end of the parameters value when a dot occurs. It happens only when using the params rewriting. Here is an exemple :
some_controller.php
function index() {
$this->renderText( $this->params['var'] );
}
With routes.php as :
$Map->connect('/index', array( 'controller' => 'cms', 'action' => 'index' ) );
http://here/index?var=test.eh renders :
test.eh
With routes.php as :
$Map->connect('/index/:var', array( 'controller' => 'cms', 'action' => 'index' ) );
http://here/index/test.eh renders :
test
I bet it deserves a bug report or am I wrong?
After some investigation I think it's related to the new AkRequest::getFormat() function that checks for the request's extension.
1 to 2 of 2