Jason Webster wrote:
> 
> You can call setPrependBase(true) on the redirector action helper, and 
> it should fix your problem.
> 
> 

Thank you both for your responses.

It appears that setting prependBase to false fixes the problem if '$url' is
already fully constructed (e.g., taken from $this->_request->getRequestUri):

$this->_redirect($url, array('prependBase' => false));

But if constructing a redirect url from action/controller/module/params
components it does appear simpler to use $this->_helper->redirector rather
than use the url helper to construct the url and then feed it to _redirect.

-- 
View this message in context: 
http://www.nabble.com/_redirect-%2B-_helper-%3Eurl-%3D%3E-baseUrl-x2-tp20764995p20794408.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to