diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-28 14:18:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 14:18:25 +0100 |
commit | 14c9370b4f712c8f5b48d46535cc3e8e5506c68a (patch) | |
tree | ced13ca280772f5e2b209a7c9fe98b02905e7750 /application/front/controller | |
parent | 1ca7ddd76bc5736b69e878ef1c6b96b77b084366 (diff) | |
parent | 114a43b20e9a1f83647d4f0f7a001e80a76c75ce (diff) | |
download | Shaarli-14c9370b4f712c8f5b48d46535cc3e8e5506c68a.tar.gz Shaarli-14c9370b4f712c8f5b48d46535cc3e8e5506c68a.tar.zst Shaarli-14c9370b4f712c8f5b48d46535cc3e8e5506c68a.zip |
Merge pull request #1615 from ArthurHoaro/hotfix/save-redirect
Remove unnecessary escape of referer
Diffstat (limited to 'application/front/controller')
-rw-r--r-- | application/front/controller/admin/ShaarePublishController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/front/controller/admin/ShaarePublishController.php b/application/front/controller/admin/ShaarePublishController.php index ddcffdc7..18afc2d1 100644 --- a/application/front/controller/admin/ShaarePublishController.php +++ b/application/front/controller/admin/ShaarePublishController.php | |||
@@ -139,7 +139,7 @@ class ShaarePublishController extends ShaarliAdminController | |||
139 | } | 139 | } |
140 | 140 | ||
141 | if (!empty($request->getParam('returnurl'))) { | 141 | if (!empty($request->getParam('returnurl'))) { |
142 | $this->container->environment['HTTP_REFERER'] = escape($request->getParam('returnurl')); | 142 | $this->container->environment['HTTP_REFERER'] = $request->getParam('returnurl'); |
143 | } | 143 | } |
144 | 144 | ||
145 | return $this->redirectFromReferer( | 145 | return $this->redirectFromReferer( |