diff options
| author | 2015-05-30 19:26:16 +0200 | |
|---|---|---|
| committer | 2015-05-30 19:26:16 +0200 | |
| commit | 06a99f2ffb5febb7834bd5ef900857fb4f4dafe9 (patch) | |
| tree | 8509f434b23cf7b3bdcef2c330ec03e1af8e2175 /lib | |
| parent | cdc82f76d9fa4dbdc32f6f1460d6c883bc83ca0c (diff) | |
| parent | a5a24108ef923c47422f6b10db57863739a996cd (diff) | |
Merge pull request #860 from Alkarex/MinzURL
Minz URL encoding bug
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/Url.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php index a47d8f1a6..879077d0f 100644 --- a/lib/Minz/Url.php +++ b/lib/Minz/Url.php @@ -18,7 +18,7 @@ class Minz_Url { $isArray = is_array($url); if ($isArray) { - $url = self::checkUrl ($url); + $url = self::checkUrl($url); } $url_string = ''; @@ -30,9 +30,9 @@ class Minz_Url { } if ($isArray) { - $url_string .= self::printUri ($url, $encodage); + $url_string .= self::printUri($url, $encodage); } else { - $url_string .= $url; + $url_string = Minz_Helper::htmlspecialchars_utf8($url_string . $url); } return $url_string; |
