diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-07-14 10:40:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 10:40:11 +0300 |
commit | 392ef0bb0f2a05999813d743d070c34ac5d017f9 (patch) | |
tree | 6fbc3516ba506d0b63ba96f96edab144a3cb7ade /plugins/Goals/Visualizations/Goals.php | |
parent | aa9425ff2b20a43004576183425047c3fa21d2ad (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.php | 2 |
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; } |