Encode url before passing it to Icinga\Form\Dashboard\AddUrlForm

fixes #6611
This commit is contained in:
Johannes Meyer 2014-08-13 16:41:40 +02:00
parent b5d6481c12
commit 666591beb7

View File

@ -28,7 +28,7 @@ class DashboardAction implements Tabextension
'title' => 'Add To Dashboard', 'title' => 'Add To Dashboard',
'url' => Url::fromPath('dashboard/addurl'), 'url' => Url::fromPath('dashboard/addurl'),
'urlParams' => array( 'urlParams' => array(
'url' => Url::fromRequest()->getRelativeUrl() 'url' => rawurlencode(Url::fromRequest()->getRelativeUrl())
) )
) )
); );