]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/front/controller/admin/ShaarePublishController.php
Remove unnecessary escape of referer
[github/shaarli/Shaarli.git] / application / front / controller / admin / ShaarePublishController.php
index ddcffdc77a4c21e8fb5c7d050ce03cc0137d7ff5..18afc2d1fb84e26ce281c35970948d86593b36b0 100644 (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(