Extbase:
authorJochen Rau <j.rau@web.de>
Fri, 15 May 2009 19:32:23 +0000 (19:32 +0000)
committerJochen Rau <j.rau@web.de>
Fri, 15 May 2009 19:32:23 +0000 (19:32 +0000)
* Fixed Bug #3320: Double & in URL parameters

typo3/sysext/extbase/Classes/MVC/View/Helper/URIHelper.php

index ceb70a8..c95f9fd 100644 (file)
@@ -92,7 +92,7 @@ class Tx_Extbase_MVC_View_Helper_URIHelper extends Tx_Extbase_MVC_View_Helper_Ab
                }
                $typolinkConfiguration['additionalParams'] = '';
                if (count($arguments) > 0) {
-                       $typolinkConfiguration['additionalParams'] .= '&' . http_build_query($arguments); // FIXME escaping is broken; example "'"
+                       $typolinkConfiguration['additionalParams'] .= '&' . http_build_query($arguments, NULL, '&');
                        if (!isset($options['no_cache'])) {
                                $typolinkConfiguration['useCacheHash'] = 1;
                        }