From 228d7adfdb90c3fdd179f80fbfde565eb06e0cec Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 15 Jun 2023 12:47:47 +0200 Subject: Fix slider views (#5469) * Fix slider titles And fix full-page view of category configuration. FIx https://github.com/FreshRSS/FreshRSS/pull/5449#issuecomment-1590021947 * Fix user queries and user management Implement https://github.com/FreshRSS/FreshRSS/pull/5469#issuecomment-1591957935 --- lib/Minz/Url.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/Minz') diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php index 70414f17a..f6fa809cf 100644 --- a/lib/Minz/Url.php +++ b/lib/Minz/Url.php @@ -92,7 +92,10 @@ class Minz_Url { unset($url['params']['c']); unset($url['params']['a']); foreach ($url['params'] as $key => $param) { - $uri .= $separator . urlencode($key) . '=' . urlencode($param); + if (!is_string($key) || (!is_string($param) && !is_int($param))) { + continue; + } + $uri .= $separator . urlencode($key) . '=' . urlencode((string)$param); $separator = $and; } } -- cgit v1.2.3