diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-04 09:13:30 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-04 09:13:30 +0400 |
commit | 1e940655c2c06c7fd28ffd81599573374e63f4dc (patch) | |
tree | 4ba18f3df6910b5ac6d66006733f36580cc86448 /core/Twig.php | |
parent | 7c61b1463864def14f5f5af3309009597174a5bb (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-x | core/Twig.php | 2 |
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'))); |