From 1e940655c2c06c7fd28ffd81599573374e63f4dc Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Wed, 4 Jun 2014 07:13:30 +0200 Subject: 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 --- core/Twig.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/Twig.php') 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'))); -- cgit v1.2.3