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
path: root/core
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2017-09-11 08:10:59 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-09-11 08:10:59 +0300
commit7bb53d5db08e1c4b25c4d31124cd05272036ad56 (patch)
tree7bc038578a99e767907f5d4755396217337ade12 /core
parent825dea9bc03a2f71c3c506cae582297d9e6ce230 (diff)
Escapes site name for goals report (#12012)
* Escape site name correctly escape site name * prevent raw notification messages to be parsed from angular
Diffstat (limited to 'core')
-rwxr-xr-xcore/Twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php
index ce8085f23c..827c0c411f 100755
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -356,7 +356,7 @@ class Twig
$template .= '>';
if (!empty($options['raw'])) {
- $template .= $message;
+ $template .= piwik_fix_lbrace($message);
} else {
$template .= twig_escape_filter($twigEnv, $message, 'html');
}