From 3322074ce7be9a7146300f3c2179ea48b84ab254 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 13 Mar 2019 16:52:53 +0100 Subject: [PATCH] =?UTF-8?q?:bug:=20N=C2=B01889=20Portal:=20Wrong=20encodin?= =?UTF-8?q?g=20of=20special=20chars=20like=20in=20dashlets=20(eg.=20"?= =?UTF-8?q?=C3=B6",=20"&",=20...)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 83bb3b6d7210fd5b9b0c7d5933a687bb74e0881b) --- .../portal/src/controllers/managebrickcontroller.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datamodels/2.x/itop-portal-base/portal/src/controllers/managebrickcontroller.class.inc.php b/datamodels/2.x/itop-portal-base/portal/src/controllers/managebrickcontroller.class.inc.php index 366c525b5a..56f2550c1c 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/controllers/managebrickcontroller.class.inc.php +++ b/datamodels/2.x/itop-portal-base/portal/src/controllers/managebrickcontroller.class.inc.php @@ -871,7 +871,7 @@ class ManageBrickController extends BrickController $aGroupingTabsValues[$aDistinctResult['grouped_by_1']] = array( 'value' => $aDistinctResult['grouped_by_1'], 'label_html' => $sHtmlLabel, - 'label' => strip_tags($sHtmlLabel), + 'label' => strip_tags(html_entity_decode($sHtmlLabel, ENT_QUOTES, 'UTF-8')), 'condition' => $oConditionQuery, 'count' => $aDistinctResult['_itop_count_'], );