aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Url.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2016-09-30 09:22:51 +0200
committerGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2016-09-30 09:22:51 +0200
commit4d8c63a51e9738f1600de895c1b747f2634f4078 (patch)
tree1fa05610201f1603313b3bf5e516e0b811b3ed61 /lib/Minz/Url.php
parent8a58795e7dfd501c6c8ac84694e695c4f0791cfb (diff)
Minz URL bug
More general fix for https://github.com/FreshRSS/FreshRSS/pull/1269
Diffstat (limited to 'lib/Minz/Url.php')
-rw-r--r--lib/Minz/Url.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php
index c7c67123e..99c0443c1 100644
--- a/lib/Minz/Url.php
+++ b/lib/Minz/Url.php
@@ -78,6 +78,8 @@ class Minz_Url {
}
if (isset($url['params'])) {
+ unset($url['params']['c']);
+ unset($url['params']['a']);
foreach ($url['params'] as $key => $param) {
$uri .= $separator . urlencode($key) . '=' . urlencode($param);
$separator = $and;