Do not double decode values

Fixes https://github.com/owncloud/core/issues/11012
This commit is contained in:
Lukas Reschke 2014-09-11 15:34:57 +02:00
parent 9737ba74ce
commit 99e9e762d1
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {