looks like a challenge
$this->_redirect('*/*/myaction',$myargs);
does not properly execute arguments therefore if
$myargs=array(p1=>'string that has + or / within it')
the generated URL will look something like this:
..../myaction/?p1/string%20that%20has%20+%20or%20/%20within%20it
as a result, the getParams collection in action will have p1 with the value ", which has either the '<- plus sign is absent and the value is broken and" inside it "without value or something like that.
Is there any standard way to handle arguments before passing them to _redirect?
Eyal
source
share