diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-09-11 08:10:59 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-09-11 08:10:59 +0300 |
commit | 7bb53d5db08e1c4b25c4d31124cd05272036ad56 (patch) | |
tree | 7bc038578a99e767907f5d4755396217337ade12 /core | |
parent | 825dea9bc03a2f71c3c506cae582297d9e6ce230 (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-x | core/Twig.php | 2 |
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'); } |