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:
-rwxr-xr-xcore/Twig.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Twig.php b/core/Twig.php
index 8dd259fc2d..758cd24013 100755
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -234,6 +234,8 @@ class Twig
protected function addFilter_safeDecodeRaw()
{
$rawSafeDecoded = new Twig_SimpleFilter('rawSafeDecoded', function ($string) {
+ $string = str_replace('+', '%2B', $string);
+
return SafeDecodeLabel::decodeLabelSafe($string);
}, array('is_safe' => array('all')));