Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthormerindol
     

    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?

    • CommentAuthormerindol
     

    After some investigation I think it's related to the new AkRequest::getFormat() function that checks for the request's extension.