correct URL encoding for links
This commit is contained in:
parent
f096f0c377
commit
ccfccd64ed
1 changed files with 3 additions and 1 deletions
|
|
@ -137,7 +137,6 @@
|
||||||
if(count($reqParams) < $offset && $offset > 1) {
|
if(count($reqParams) < $offset && $offset > 1) {
|
||||||
$reqParams[] = $this->request->getParam(2, 'action');
|
$reqParams[] = $this->request->getParam(2, 'action');
|
||||||
}
|
}
|
||||||
$params = array_map('rawurlencode', $params);
|
|
||||||
$params = array_merge($reqParams, $params);
|
$params = array_merge($reqParams, $params);
|
||||||
|
|
||||||
// Use Layout
|
// Use Layout
|
||||||
|
|
@ -159,6 +158,9 @@
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Encode parameters
|
||||||
|
$params = array_map('rawurlencode', $params);
|
||||||
|
|
||||||
// Set parameters
|
// Set parameters
|
||||||
call_user_func_array(
|
call_user_func_array(
|
||||||
array(
|
array(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue