From 572720fb7ad908f2455c945723b9aafd32bc0d95 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 11 Sep 2014 15:34:57 +0200 Subject: [PATCH] Do not double decode values Fixes https://github.com/owncloud/core/issues/11012 --- apps/files_sharing/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index c92d3fc4007..29cb35b2c6c 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -105,7 +105,7 @@ if (isset($path)) { \OC::$server->getSession()->close(); } if (isset($_GET['files'])) { // download selected files - $files = urldecode($_GET['files']); + $files = $_GET['files']; $files_list = json_decode($files); // in case we get only a single file if ($files_list === NULL ) { -- 2.39.5