[Pkg-owncloud-commits] [owncloud] 71/258: Do not double decode values
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 572720fb7ad908f2455c945723b9aafd32bc0d95
Author: Lukas Reschke <lukas at owncloud.com>
Date: Thu Sep 11 15:34:57 2014 +0200
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 c92d3fc..29cb35b 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 ) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list