From 684f829581a911c52b24f784b2e54e6a6c6447f4 Mon Sep 17 00:00:00 2001 From: jf-cbd <121934370+jf-cbd@users.noreply.github.com> Date: Mon, 16 Jun 2025 15:06:45 +0200 Subject: [PATCH 1/2] Merge commit from fork --- application/exceptions/CoreException.php | 2 +- setup/modulediscovery.class.inc.php | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/application/exceptions/CoreException.php b/application/exceptions/CoreException.php index f8afd2e5c..178b5397d 100644 --- a/application/exceptions/CoreException.php +++ b/application/exceptions/CoreException.php @@ -67,7 +67,7 @@ class CoreException extends Exception public function getHtmlDesc($sHighlightHtmlBegin = '', $sHighlightHtmlEnd = '') { - return $this->getMessage(); + return utils::EscapeHtml($this->getMessage()); } /** diff --git a/setup/modulediscovery.class.inc.php b/setup/modulediscovery.class.inc.php index 81482c678..96822a982 100644 --- a/setup/modulediscovery.class.inc.php +++ b/setup/modulediscovery.class.inc.php @@ -40,15 +40,17 @@ class MissingDependencyException extends CoreException