Browse Source

Minz URL bug

More general fix for https://github.com/FreshRSS/FreshRSS/pull/1269
Alexandre Alapetite 9 years ago
parent
commit
4d8c63a51e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/Minz/Url.php

+ 2 - 0
lib/Minz/Url.php

@@ -78,6 +78,8 @@ class Minz_Url {
 		}
 		}
 
 
 		if (isset($url['params'])) {
 		if (isset($url['params'])) {
+			unset($url['params']['c']);
+			unset($url['params']['a']);
 			foreach ($url['params'] as $key => $param) {
 			foreach ($url['params'] as $key => $param) {
 				$uri .= $separator . urlencode($key) . '=' . urlencode($param);
 				$uri .= $separator . urlencode($key) . '=' . urlencode($param);
 				$separator = $and;
 				$separator = $and;