aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-10-28 14:13:50 +0100
committerArthurHoaro <arthur@hoa.ro>2020-10-28 14:13:50 +0100
commit114a43b20e9a1f83647d4f0f7a001e80a76c75ce (patch)
tree37010eb156f4a4770a7fbc1c446275444eac9700 /application/front
parentd2bb40cc7ca2a7f9c2403087016a0050a7113e07 (diff)
downloadShaarli-114a43b20e9a1f83647d4f0f7a001e80a76c75ce.tar.gz
Shaarli-114a43b20e9a1f83647d4f0f7a001e80a76c75ce.tar.zst
Shaarli-114a43b20e9a1f83647d4f0f7a001e80a76c75ce.zip
Remove unnecessary escape of referer
Fixes #1611
Diffstat (limited to 'application/front')
-rw-r--r--application/front/controller/admin/ShaarePublishController.php2
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(