System:Settings:Cron - cleanse user input in /ui/cron/item/open/...

This commit is contained in:
Ad Schellevis 2023-06-29 21:29:32 +02:00
parent 77aa58b046
commit 5edff49db1

View File

@ -43,7 +43,7 @@ class ItemController extends \OPNsense\Base\IndexController
*/
public function openAction($uuid = null)
{
$this->view->selected_uuid = $uuid;
$this->view->selected_uuid = htmlspecialchars($uuid, ENT_QUOTES | ENT_HTML401);
// include dialog form definitions
$this->view->formDialogEdit = $this->getForm("dialogEdit");
$this->view->pick('OPNsense/Cron/index');