From 383fc27213dcb678a8b5db1fd9f904205664a679 Mon Sep 17 00:00:00 2001 From: Benjamin Dalsass <95754414+bdalsass@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:24:25 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B07219=20-=20Fatal=20error=20following=20d?= =?UTF-8?q?ashboard=20modification=20when=20dashboard=20title=20contains?= =?UTF-8?q?=20an=20=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/dashboard.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/dashboard.class.inc.php b/application/dashboard.class.inc.php index bfc89e4885..dfcbf3ee84 100644 --- a/application/dashboard.class.inc.php +++ b/application/dashboard.class.inc.php @@ -1268,8 +1268,8 @@ public function RenderEditor($oPage, $aExtraParams = array()) $sLayoutClass = utils::HtmlEntities($this->sLayoutClass); $sAutoReload = $this->bAutoReload ? 'true' : 'false'; $sAutoReloadSec = (string) $this->iAutoReloadSec; - $sTitle = utils::HtmlEntities($this->sTitle); - $sFile = utils::HtmlEntities($this->GetDefinitionFile()); + $sTitle = utils::EscapeHtml($this->sTitle); + $sFile = addslashes($this->GetDefinitionFile()); $sUrl = utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php'; $sReloadURL = $this->GetReloadURL();