Skip to content
Snippets Groups Projects
Commit fe49ec6c authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #18279 [finc] unescape redirect URL

parent 0d96b773
No related merge requests found
......@@ -59,6 +59,7 @@ class MyResearchController extends \VuFind\Controller\MyResearchController imple
public function onDispatch(MvcEvent $e)
{
if ($redirect = $this->getRequest()->getQuery()->get('redirect')) {
$redirect = urldecode($redirect);
//if we have a "redirect" param, the user should be lead to the given url,
//at least as long as his login is successful
//we achieve that by forcing the follow-up url to be the redirect
......
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