Merge pull request #1615 from ArthurHoaro/hotfix/save-redirect

Remove unnecessary escape of referer
This commit is contained in:
ArthurHoaro 2020-10-28 14:18:25 +01:00 committed by GitHub
commit 14c9370b4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(