Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2022-07-14 10:40:11 +0300
committerGitHub <noreply@github.com>2022-07-14 10:40:11 +0300
commit392ef0bb0f2a05999813d743d070c34ac5d017f9 (patch)
tree6fbc3516ba506d0b63ba96f96edab144a3cb7ade /plugins/Goals/Visualizations/Goals.php
parentaa9425ff2b20a43004576183425047c3fa21d2ad (diff)
Fixes row evolution for rows containing encoded entities (#19490)
* Fixes rowevolution for rows containing encoded entities * adjust tests * Do not sanitize goal details in APIresponse and adjust usages to prevent xss * update UI test
Diffstat (limited to 'plugins/Goals/Visualizations/Goals.php')
-rw-r--r--plugins/Goals/Visualizations/Goals.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Goals/Visualizations/Goals.php b/plugins/Goals/Visualizations/Goals.php
index 943078ea36..dbccd776a1 100644
--- a/plugins/Goals/Visualizations/Goals.php
+++ b/plugins/Goals/Visualizations/Goals.php
@@ -335,8 +335,6 @@ class Goals extends HtmlTable
$siteGoals = Request::processRequest('Goals.getGoals', ['idSite' => $idSite, 'filter_limit' => '-1'], $default = []);
foreach ($siteGoals as &$goal) {
- $goal['name'] = Common::sanitizeInputValue($goal['name']);
-
$goal['quoted_name'] = '"' . $goal['name'] . '"';
$allGoals[$goal['idgoal']] = $goal;
}