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 @@ class ShaarePublishController extends ShaarliAdminController
|
|||
}
|
||||
|
||||
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(
|
||||
|
|
Loading…
Reference in a new issue