From f11c3ec6c6ebb5005a934365750b71a91fdd177b Mon Sep 17 00:00:00 2001 From: coderkun Date: Tue, 29 Apr 2014 01:15:41 +0200 Subject: [PATCH] correct URL encoding for links --- core/Linker.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/Linker.inc b/core/Linker.inc index e8c4fa0f..242bbe0e 100644 --- a/core/Linker.inc +++ b/core/Linker.inc @@ -137,7 +137,6 @@ if(count($reqParams) < $offset && $offset > 1) { $reqParams[] = $this->request->getParam(2, 'action'); } - $params = array_map('rawurlencode', $params); $params = array_merge($reqParams, $params); // Use Layout @@ -159,6 +158,9 @@ ); } + // Encode parameters + $params = array_map('rawurlencode', $params); + // Set parameters call_user_func_array( array(