aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
authorAlexandre Alapetite <alexandre@alapetite.fr>2023-06-15 12:47:47 +0200
committerGitHub <noreply@github.com>2023-06-15 12:47:47 +0200
commit228d7adfdb90c3fdd179f80fbfde565eb06e0cec (patch)
tree449368813c0ee49e50db55a560dee6e4ffc9cca5 /lib
parent644427b9b1a0cf525b84f4a2aac2d6a5a2f55045 (diff)
downloadfreshrss-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.php5
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;
}
}