]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not double decode values
authorLukas Reschke <lukas@owncloud.com>
Thu, 11 Sep 2014 13:34:57 +0000 (15:34 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Mon, 15 Sep 2014 05:59:04 +0000 (07:59 +0200)
Fixes https://github.com/owncloud/core/issues/11012

apps/files_sharing/public.php

index c92d3fc400742bfb6f7a8844658098f375392378..29cb35b2c6c041d484ab72bb55d064fc13ae0f28 100644 (file)
@@ -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 ) {