diff options
| author | 2015-07-14 00:12:58 +0200 | |
|---|---|---|
| committer | 2015-07-14 00:12:58 +0200 | |
| commit | cd6173725ff2d88ca375912db3208a8677a240c0 (patch) | |
| tree | ae7c9b259fbef0ec0b9057c38c65362f3f3f8a78 | |
| parent | 5f3f9ebfba935421b141bf32e6ff45a34fe6a375 (diff) | |
| parent | 9cc0ef231c985da0f16c64eb11f8bb9515cc27c5 (diff) | |
Merge branch 'FreshRSS/dev' into dev
| -rw-r--r-- | lib/Minz/Extension.php | 2 | ||||
| -rw-r--r-- | lib/Minz/Url.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php index d7ee8fe81..78b8a2725 100644 --- a/lib/Minz/Extension.php +++ b/lib/Minz/Extension.php @@ -168,7 +168,7 @@ class Minz_Extension { $url = '/ext.php?f=' . $file_name_url . '&t=' . $type . '&' . $mtime; - return Minz_Url::display($url); + return Minz_Url::display($url, 'php'); } /** diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php index 879077d0f..a2809257d 100644 --- a/lib/Minz/Url.php +++ b/lib/Minz/Url.php @@ -31,8 +31,10 @@ class Minz_Url { if ($isArray) { $url_string .= self::printUri($url, $encodage); - } else { + } elseif ($encodage === 'html') { $url_string = Minz_Helper::htmlspecialchars_utf8($url_string . $url); + } else { + $url_string .= $url; } return $url_string; |
