[Pkg-owncloud-commits] [owncloud] 03/394: urldecode target directory

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:11:12 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit ca58aa1644f778252667457f054b527a7efef97b
Author: Björn Schießle <schiessle at owncloud.com>
Date:   Wed Oct 24 15:37:32 2012 +0200

    urldecode target directory
---
 apps/files/ajax/move.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/ajax/move.php b/apps/files/ajax/move.php
index 8b3149e..ddcda55 100644
--- a/apps/files/ajax/move.php
+++ b/apps/files/ajax/move.php
@@ -9,7 +9,7 @@ OCP\JSON::callCheck();
 // Get data
 $dir = stripslashes($_GET["dir"]);
 $file = stripslashes($_GET["file"]);
-$target = stripslashes($_GET["target"]);
+$target = stripslashes(urldecode($_GET["target"]));
 
 
 if(OC_Files::move($dir, $file, $target, $file)) {

-- 
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