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

    In my application_controller, I have a method that generate a url using $this->url_helper->url_for() method. It works fine but I face the following problem.

    Context :
    -------------
    Our controllers are grouped by modules and the routing works fine.

    Problem :
    --------------
    With one call using the following array,

    array( "action" => "view",
    "sid" => $this->params["sid"])

    It generates a correct url : /?ak=/basemain/tree/action/&sid=256

    For another array :
    array( "module" => "basemain",
    "controller" => "tree",
    "action" => "view",
    "sid" => $this->params["sid"])

    It generates an "invalid" url : /?ak=/basemain/tree/action/&sid=256

    Do someone have an idea on why the "&" is encoded on the second call and not on the first ?

    Thanks