summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-11 15:34:57 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-11 15:34:57 +0200
commit99e9e762d1de02c61ecc336b276111d8195369c8 (patch)
tree41c387b1de6f74595e763fdca0c86fd82008213f /apps/files_sharing/public.php
parent9737ba74ce828c745794af26e2bd2bb4ec7b1803 (diff)
downloadnextcloud-server-99e9e762d1de02c61ecc336b276111d8195369c8.tar.gz
nextcloud-server-99e9e762d1de02c61ecc336b276111d8195369c8.zip
Do not double decode values
Fixes https://github.com/owncloud/core/issues/11012
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index bf90c0b5dfc..5c75168d9a9 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -111,7 +111,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 ) {