Merge pull request #1615 from ArthurHoaro/hotfix/save-redirect
Remove unnecessary escape of referer
This commit is contained in:
commit
14c9370b4f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ public function save(Request $request, Response $response): Response
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($request->getParam('returnurl'))) {
|
if (!empty($request->getParam('returnurl'))) {
|
||||||
$this->container->environment['HTTP_REFERER'] = escape($request->getParam('returnurl'));
|
$this->container->environment['HTTP_REFERER'] = $request->getParam('returnurl');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->redirectFromReferer(
|
return $this->redirectFromReferer(
|
||||||
|
|
Loading…
Reference in a new issue