diff options
author | Alexandre Alapetite <alexandre@alapetite.fr> | 2023-06-15 12:47:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 12:47:47 +0200 |
commit | 228d7adfdb90c3fdd179f80fbfde565eb06e0cec (patch) | |
tree | 449368813c0ee49e50db55a560dee6e4ffc9cca5 /lib | |
parent | 644427b9b1a0cf525b84f4a2aac2d6a5a2f55045 (diff) | |
download | freshrss-228d7adfdb90c3fdd179f80fbfde565eb06e0cec.tar.gz freshrss-228d7adfdb90c3fdd179f80fbfde565eb06e0cec.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Minz/Url.php | 5 |
1 files changed, 4 insertions, 1 deletions
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; } } |