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:
Diffstat (limited to 'core/Twig.php')
-rwxr-xr-xcore/Twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php
index 827c0c411f..c36452055b 100755
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -373,7 +373,7 @@ class Twig
{
$rawSafeDecoded = new Twig_SimpleFilter('rawSafeDecoded', function ($string) {
$string = str_replace('+', '%2B', $string);
- $string = str_replace(' ', html_entity_decode(' '), $string);
+ $string = str_replace(' ', html_entity_decode(' ', ENT_COMPAT | ENT_HTML401, 'UTF-8'), $string);
$string = SafeDecodeLabel::decodeLabelSafe($string);