Don't allow raw double quotes in dashlet URLs
This commit is contained in:
parent
b7bdf2e8d4
commit
21eeeea7ea
|
@ -5,6 +5,7 @@ namespace Icinga\Forms\Dashboard;
|
|||
|
||||
use Icinga\Web\Widget\Dashboard;
|
||||
use Icinga\Web\Form;
|
||||
use Icinga\Web\Form\Validator\UrlValidator;
|
||||
use Icinga\Web\Url;
|
||||
use Icinga\Web\Widget\Dashboard\Dashlet;
|
||||
|
||||
|
@ -68,7 +69,8 @@ class DashletForm extends Form
|
|||
'label' => $this->translate('Url'),
|
||||
'description' => $this->translate(
|
||||
'Enter url being loaded in the dashlet. You can paste the full URL, including filters.'
|
||||
)
|
||||
),
|
||||
'validators' => array(new UrlValidator())
|
||||
)
|
||||
);
|
||||
$this->addElement(
|
||||
|
|
Loading…
Reference in New Issue