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
1 changed files with 1 additions and 1 deletions

View File

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