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:
authorThomas Steur <thomas.steur@googlemail.com>2014-06-04 09:13:30 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-04 09:13:30 +0400
commit1e940655c2c06c7fd28ffd81599573374e63f4dc (patch)
tree4ba18f3df6910b5ac6d66006733f36580cc86448 /core/Twig.php
parent7c61b1463864def14f5f5af3309009597174a5bb (diff)
fixes #5268 the plus character needs to be url encoded otherwise it will not be visible as it is reserved by RFC2396. Other characters work fine
Diffstat (limited to 'core/Twig.php')
-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')));