Skip to content
Snippets Groups Projects
Commit b43f176e authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Do not un-encode encoded IDs in URL.

- Resolves VUFIND-1392
parent 4bf553ec
No related merge requests found
...@@ -96,7 +96,10 @@ class Url extends \Zend\View\Helper\Url ...@@ -96,7 +96,10 @@ class Url extends \Zend\View\Helper\Url
public function addQueryParameters($params, $reuseMatchedParams = true) public function addQueryParameters($params, $reuseMatchedParams = true)
{ {
$requestQuery = $this->request->getQuery()->toArray(); $requestQuery = $this->request->getQuery()->toArray();
$options = ['query' => array_merge($requestQuery, $params)]; $options = [
'query' => array_merge($requestQuery, $params),
'normalize_path' => false, // fix for VUFIND-1392
];
return $this->__invoke(null, [], $options, $reuseMatchedParams); return $this->__invoke(null, [], $options, $reuseMatchedParams);
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment