From 02558482b63329d45c8c269b32e43647d2b6c475 Mon Sep 17 00:00:00 2001 From: stefangabos Date: Thu, 2 Sep 2021 12:28:15 +0300 Subject: [PATCH] Possible fox for #34 --- Zebra_Pagination.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zebra_Pagination.php b/Zebra_Pagination.php index a03a95d..95ad1b0 100644 --- a/Zebra_Pagination.php +++ b/Zebra_Pagination.php @@ -900,7 +900,7 @@ private function _build_uri($page) { unset($query[$this->_properties['variable_name']]); // make sure the returned HTML is W3C compliant - $uri = htmlspecialchars(html_entity_decode($this->_properties['base_url']) . (!empty($query) ? '?' . urldecode(http_build_query($query)) : '')); + $uri = htmlspecialchars(html_entity_decode($this->_properties['base_url']) . (!empty($query) ? '?' . http_build_query(array_map('urldecode', $query)) : '')); }