Skip to content

Commit

Permalink
Merge pull request #11021 from owncloud/do-not-double-decode
Browse files Browse the repository at this point in the history
Do not double decode values

* owncloud/do-not-double-decode:
  Do not double decode values
  • Loading branch information
Andreas Fischer committed Sep 15, 2014
2 parents 8d647fa + 99e9e76 commit 31898aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_sharing/public.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
\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 ) {
Expand Down

0 comments on commit 31898aa

Please sign in to comment.