Replace escaped ampersands in URLs with & for redirects

* NB: Icinga\Web\Url could provide a method for this
This commit is contained in:
Thomas Gelf 2014-03-26 07:56:30 +00:00
parent b54326bf5d
commit 87f90b6bdd
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class ActionController extends Zend_Controller_Action
} else {
$url = Url::fromPath($url)->getRelativeUrl();
}
$this->_helper->Redirector->gotoUrlAndExit($url);
$this->_helper->Redirector->gotoUrlAndExit(preg_replace('~&~', '&', $url));
}
/**