From 255d3c433c95f21c2c059396882501b96ee09c7b Mon Sep 17 00:00:00 2001
From: Henning Leutz <leutz@pcsg.de>
Date: Thu, 15 Oct 2015 09:41:34 +0200
Subject: [PATCH] pagination -> urlencode bei get params eingebaut

---
 lib/QUI/Bricks/Controls/Pagination.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/QUI/Bricks/Controls/Pagination.php b/lib/QUI/Bricks/Controls/Pagination.php
index 68e4f02..4a6f50b 100644
--- a/lib/QUI/Bricks/Controls/Pagination.php
+++ b/lib/QUI/Bricks/Controls/Pagination.php
@@ -259,7 +259,7 @@ public function getStart()
     public function setGetParams($name, $value)
     {
         $name  = QUI\Utils\Security\Orthos::clear($name);
-        $value = QUI\Utils\Security\Orthos::clear($value);
+        $value = QUI\Utils\Security\Orthos::clearFormRequest($value);
 
         if (empty($value)) {
 
@@ -270,7 +270,7 @@ public function setGetParams($name, $value)
             return;
         }
 
-        $this->_getParams[$name] = $value;
+        $this->_getParams[$name] = urlencode($value);
     }
 
     /**
-- 
GitLab