From 87f90b6bdd59de280f958da1a87234be4927e0db Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 26 Mar 2014 07:56:30 +0000 Subject: [PATCH] Replace escaped ampersands in URLs with & for redirects * NB: Icinga\Web\Url could provide a method for this --- library/Icinga/Web/Controller/ActionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index 740197d93..300413b63 100644 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -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)); } /**