summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 30a1e41..8a78075 100644
--- a/it_url.class
+++ b/it_url.class
@@ -721,7 +721,7 @@ static function _params($params, $keys = null, $finalize = true)
foreach (it_url::_params($params[$key], null, false) as $value)
{
if (strlen($value))
- $result[] = it::replace(array('^([^=\[]*)' => $key . '[$1]'), $value);
+ $result[] = it::replace(array('^([^=\[]*)' => urlencode($key) . '[$1]'), $value);
}
}
else if (strlen($params[$key]))