Remove unnecessary escape of referer

Fixes #1611
This commit is contained in:
ArthurHoaro 2020-10-28 14:13:50 +01:00
parent d2bb40cc7c
commit 114a43b20e

View file

@ -139,7 +139,7 @@ public function save(Request $request, Response $response): Response
}
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(