似乎是在呼吁
$this->_redirect('*/*/myaction',$myargs);
没有正确地逃避论点,所以如果
$myargs=array(p1=>'string that has + or / within it')
创建的 URL 将类似于:
..../myaction/?p1/string%20that%20has%20+%20or%20/%20within%20it
导致操作上的 getParams 集合使 p1 具有值 'string that has or ' <- plus sign missing and value broken and ' inside' 没有值或类似的东西。
在将参数传递给 _redirect 之前,我应该有什么标准方法来处理它们?
埃亚尔