ZF-1895: improve parameters in url, setGoto()
Description
Zend_Controller_Action_Helper_Redirector::setGoto
rewrite the array $params in a sequence of /param/value
but when you provide an array in value, it's not converted in multiple params, like this ?param[]=value1¶m[]=value2 but in param/array
And in th same way, provide a solution for rewriting parameters including "/". In example a date 23/11/1982 become param/23/11/1982 , and 11 its become the name of the second parameter and 1982 the value.
we also provided the same solution ?param=23/11/1982
almost, we can use a option for choosing type of rewrite parameters
Comments
Posted by Bill Karwin (bkarwin) on 2007-08-31T18:19:45.000+0000
Assign to Matthew.
Posted by Matthew Weier O'Phinney (matthew) on 2007-11-16T14:49:01.000+0000
I will definitely try and address the array issue for 1.1.0. However, the last example you gave is simply not an option when using the URL PATH for passing parameters; there's no way to determine what's a PATH segment and what's a date. Use dashes instead.
Posted by Wil Sinclair (wil) on 2008-04-18T13:11:49.000+0000
This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T12:02:59.000+0000
This will not be possible unless the router can support array values in the URL.
Posted by Wil Sinclair (wil) on 2008-06-09T13:12:08.000+0000
Matthew, it looks like the issue this one is dependent on is assigned to Martel. Can you check if this is feasible for 1.6 given the dependency? If not, let's postpone it and reopen it when we feel it needs to be addressed. Also, if this requires a proposal, we should make it clear here and postpone it to be reopened when the proposal is accepted.