mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
Replace escaped ampersands in URLs with & for redirects
* NB: Icinga\Web\Url could provide a method for this
This commit is contained in:
parent
b54326bf5d
commit
87f90b6bdd
@ -322,7 +322,7 @@ class ActionController extends Zend_Controller_Action
|
|||||||
} else {
|
} else {
|
||||||
$url = Url::fromPath($url)->getRelativeUrl();
|
$url = Url::fromPath($url)->getRelativeUrl();
|
||||||
}
|
}
|
||||||
$this->_helper->Redirector->gotoUrlAndExit($url);
|
$this->_helper->Redirector->gotoUrlAndExit(preg_replace('~&~', '&', $url));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user